Fix build.

This commit is contained in:
Dmitry 2019-07-28 23:27:12 +03:00 committed by jeefo
commit 01971c9f0d

View file

@ -59,6 +59,7 @@ CR_NAMESPACE_END
# include <direct.h> # include <direct.h>
#else #else
# include <unistd.h> # include <unistd.h>
# include <strings.h>
# include <sys/stat.h> # include <sys/stat.h>
#endif #endif
@ -149,7 +150,7 @@ struct Platform : public Singleton <Platform> {
#if defined(CR_WINDOWS) #if defined(CR_WINDOWS)
return _stricmp (str1, str2) == 0; return _stricmp (str1, str2) == 0;
#else #else
return strcasecmp (str1, str2) == 0; return ::strcasecmp (str1, str2) == 0;
#endif #endif
} }