diff -r bf78b97106e5 -r 576fa42454dc core/logic/stringutil.cpp --- a/core/logic/stringutil.cpp Wed Jul 03 23:27:04 2013 -0400 +++ b/core/logic/stringutil.cpp Thu Jul 04 11:28:32 2013 -0400 @@ -35,6 +35,11 @@ #include #include "stringutil.h" +// We're in logic so we don't have this from the SDK. +#ifndef MIN +#define MIN( a, b ) ( ( ( a ) < ( b ) ) ? ( a ) : ( b ) ) +#endif + const char *stristr(const char *str, const char *substr) { if (!*substr)