mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 06:56:14 +01:00
config.h.win32(.in): Update for strcasecmp
Visual C++ uses _stricmp, which is identical to strcasecmp on gcc.
This commit is contained in:
parent
3636cf2c64
commit
eb17516a67
@ -458,11 +458,13 @@
|
||||
/* #undef HAVE_STPCPY */
|
||||
|
||||
/* Define to 1 if you have the `strcasecmp' function. */
|
||||
#if !defined(_MSC_VER) && !defined(__DMC__)
|
||||
#if defined(_MSC_VER)
|
||||
#define strcasecmp _stricmp
|
||||
#endif /* _MSC_VER uses _stricmp, which is identical to strcasecmp */
|
||||
|
||||
#if !defined(__DMC__)
|
||||
#define HAVE_STRCASECMP 1
|
||||
#else /* _MSC_VER or __DMC__ */
|
||||
/* #undef HAVE_STRCASECMP */
|
||||
#endif /* _MSC_VER or __DMC__ */
|
||||
#endif /* _MSC_VER or __gcc__ */
|
||||
|
||||
/* Define to 1 if you have the `strerror' function. */
|
||||
#define HAVE_STRERROR 1
|
||||
|
Loading…
Reference in New Issue
Block a user