Fix build.
This commit is contained in:
parent
54da53c5eb
commit
01971c9f0d
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue