forked from ariadne/pkgconf
Fix build on windows with meson
parent
101b99b5b5
commit
c9dffb8570
|
@ -86,3 +86,4 @@
|
|||
#mesondefine PKG_DEFAULT_PATH
|
||||
#mesondefine SYSTEM_INCLUDEDIR
|
||||
#mesondefine SYSTEM_LIBDIR
|
||||
#mesondefine PERSONALITY_PATH
|
||||
|
|
|
@ -17,6 +17,10 @@
|
|||
#include <libpkgconf/libpkgconf.h>
|
||||
#include <libpkgconf/config.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
# define strcasecmp _stricmp
|
||||
#endif
|
||||
|
||||
static bool default_personality_init = false;
|
||||
static pkgconf_cross_personality_t default_personality = {
|
||||
.name = "default",
|
||||
|
|
Loading…
Reference in New Issue