Fix posix builds.

This commit is contained in:
Nicholas Hastings 2013-07-03 23:27:04 -04:00
parent 9b5d0228be
commit 55583540a8

View File

@ -319,7 +319,7 @@ void UTIL_StripExtension(const char *in, char *out, int outSize)
if (end > 0 && !PATHSEPARATOR(in[end]) && end < outSize)
{
int nChars = min(end, outSize-1);
int nChars = MIN(end, outSize-1);
if (out != in)
{
memcpy(out, in, nChars);