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>
|
||||
#else
|
||||
# include <unistd.h>
|
||||
# include <strings.h>
|
||||
# include <sys/stat.h>
|
||||
#endif
|
||||
|
||||
|
|
@ -149,7 +150,7 @@ struct Platform : public Singleton <Platform> {
|
|||
#if defined(CR_WINDOWS)
|
||||
return _stricmp (str1, str2) == 0;
|
||||
#else
|
||||
return strcasecmp (str1, str2) == 0;
|
||||
return ::strcasecmp (str1, str2) == 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue