diff --git a/core/logic/stringutil.cpp b/core/logic/stringutil.cpp index ca3e7108..9f635086 100644 --- a/core/logic/stringutil.cpp +++ b/core/logic/stringutil.cpp @@ -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)