From ae70b9f658d08304c4f0a55140516260d7c4f8fb Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Mon, 23 Aug 2010 16:36:54 +0000 Subject: [PATCH] Move _strncasecmp define from forge.cpp/tiler.cpp to dict.cpp. --- src/dict.cpp | 4 ++++ src/forge.cpp | 4 ---- src/tiler.cpp | 4 ---- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/src/dict.cpp b/src/dict.cpp index 503a8735..024add06 100644 --- a/src/dict.cpp +++ b/src/dict.cpp @@ -13,6 +13,10 @@ #include "core.h" +#if defined WIN32 +# define strcasecmp _stricmp +#endif + /* * Dict implementation class */ diff --git a/src/forge.cpp b/src/forge.cpp index 59a88bdc..b6d61cf8 100644 --- a/src/forge.cpp +++ b/src/forge.cpp @@ -9,10 +9,6 @@ #include "core.h" -#if defined WIN32 -# define strcasecmp _stricmp -#endif - /* * Forge implementation class */ diff --git a/src/tiler.cpp b/src/tiler.cpp index 3cae79f7..0c681d86 100644 --- a/src/tiler.cpp +++ b/src/tiler.cpp @@ -9,10 +9,6 @@ #include "core.h" -#if defined WIN32 -# define strcasecmp _stricmp -#endif - /* * Tiler implementation class */