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:
@@ -75,6 +75,9 @@
|
||||
#include <sqlext.h>
|
||||
#endif
|
||||
|
||||
#if wxMAJOR_VERSION == 2
|
||||
#include "utils.h"
|
||||
#else
|
||||
#ifdef __UNIX__
|
||||
# ifndef strnicmp
|
||||
# define strnicmp strncasecmp
|
||||
@@ -85,6 +88,7 @@
|
||||
#else
|
||||
# include <io.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
enum enumDummy {enumDum1};
|
||||
|
||||
|
Reference in New Issue
Block a user