Fixed a multiple define problem for strnicmp and stricmp by using the definition from utils.h if compiling for wx2

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
George Tasker
1999-11-07 02:03:37 +00:00
parent 6a2e72251f
commit e4a330f1e5

View File

@@ -75,15 +75,19 @@
#include <sqlext.h>
#endif
#ifdef __UNIX__
# ifndef strnicmp
# define strnicmp strncasecmp
# endif
# ifndef stricmp
# define stricmp strcasecmp
# endif
#else
# include <io.h>
#if wxMAJOR_VERSION == 2
#include "utils.h"
#else
#ifdef __UNIX__
# ifndef strnicmp
# define strnicmp strncasecmp
# endif
# ifndef stricmp
# define stricmp strcasecmp
# endif
#else
# include <io.h>
#endif
#endif
enum enumDummy {enumDum1};