Fixed build for real.

This commit is contained in:
Nicholas Hastings 2013-07-04 11:28:32 -04:00
parent 55583540a8
commit c8e6128720

View File

@ -35,6 +35,11 @@
#include <sm_platform.h> #include <sm_platform.h>
#include "stringutil.h" #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) const char *stristr(const char *str, const char *substr)
{ {
if (!*substr) if (!*substr)