Just forward Stricmp() in wx/string.h to wxCRT_StricmpA().
Don't redo the tests already done in wx/wxcrtbase.h in wx/string.h too, especially as they were not done correctly there (they didn't take into account the case of MinGW in strict ANSI mode). Just call wxCRT_StricmpA(). This also allows us to get rid of HAVE_STRCASECMP_IN_STRING[S]_H tests in configure. Closes #15349. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1319,12 +1319,6 @@ typedef pid_t GPid;
|
||||
/* Define this if you have fputws() */
|
||||
#define HAVE_FPUTWS 1
|
||||
|
||||
/* Define this if you have strcasecmp() function in <string.h> */
|
||||
#define HAVE_STRCASECMP_IN_STRING_H 1
|
||||
|
||||
/* Define this if you have strcasecmp() function in <strings.h> */
|
||||
#undef HAVE_STRCASECMP_IN_STRINGS_H
|
||||
|
||||
/* Define this if you have wprintf() and related functions */
|
||||
#define HAVE_WPRINTF 1
|
||||
|
||||
|
Reference in New Issue
Block a user