Compile fixes (mostly focused on windows)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5534 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
5fa6e12d56
commit
018afede9a
1 changed files with 10 additions and 8 deletions
|
@ -783,14 +783,16 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
#define FTE_UNREACHABLE Sys_Error("Unreachable reached: %s %i\n", __FILE__, __LINE__)
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
//Windows-specific...
|
||||
#define stricmp _stricmp
|
||||
#define strnicmp _strnicmp
|
||||
#else
|
||||
//Posix
|
||||
#define stricmp strcasecmp
|
||||
#define strnicmp strncasecmp
|
||||
#ifndef stricmp
|
||||
#ifdef _WIN32
|
||||
//Windows-specific...
|
||||
#define stricmp _stricmp
|
||||
#define strnicmp _strnicmp
|
||||
#else
|
||||
//Posix
|
||||
#define stricmp strcasecmp
|
||||
#define strnicmp strncasecmp
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue