From c8e6128720ec491bae5e65ecccfad7ec6a80e5f4 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Thu, 4 Jul 2013 11:28:32 -0400 Subject: [PATCH] Fixed build for real. --- core/logic/stringutil.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/logic/stringutil.cpp b/core/logic/stringutil.cpp index ca3e7108f..9f6350861 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)