core/logic/stringutil.cpp
changeset 3931 576fa42454dc
parent 3930 bf78b97106e5
     1.1 --- a/core/logic/stringutil.cpp	Wed Jul 03 23:27:04 2013 -0400
     1.2 +++ b/core/logic/stringutil.cpp	Thu Jul 04 11:28:32 2013 -0400
     1.3 @@ -35,6 +35,11 @@
     1.4  #include <sm_platform.h>
     1.5  #include "stringutil.h"
     1.6  
     1.7 +// We're in logic so we don't have this from the SDK.
     1.8 +#ifndef MIN
     1.9 +#define MIN( a, b ) ( ( ( a ) < ( b ) ) ? ( a ) : ( b ) )
    1.10 +#endif
    1.11 +
    1.12  const char *stristr(const char *str, const char *substr)
    1.13  {
    1.14  	if (!*substr)