Fixed build for real.
This commit is contained in:
parent
55583540a8
commit
c8e6128720
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user