mirror of
https://github.com/nzp-team/fteqw.git
synced 2025-03-03 15:31:19 +00:00
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__)
|
#define FTE_UNREACHABLE Sys_Error("Unreachable reached: %s %i\n", __FILE__, __LINE__)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifndef stricmp
|
||||||
|
#ifdef _WIN32
|
||||||
//Windows-specific...
|
//Windows-specific...
|
||||||
#define stricmp _stricmp
|
#define stricmp _stricmp
|
||||||
#define strnicmp _strnicmp
|
#define strnicmp _strnicmp
|
||||||
#else
|
#else
|
||||||
//Posix
|
//Posix
|
||||||
#define stricmp strcasecmp
|
#define stricmp strcasecmp
|
||||||
#define strnicmp strncasecmp
|
#define strnicmp strncasecmp
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue