Fix build on windows with meson

pull/187/head
Ignacio Casal Quinteiro 2018-09-17 15:19:18 +02:00
parent 101b99b5b5
commit c9dffb8570
2 changed files with 5 additions and 0 deletions

View File

@ -86,3 +86,4 @@
#mesondefine PKG_DEFAULT_PATH
#mesondefine SYSTEM_INCLUDEDIR
#mesondefine SYSTEM_LIBDIR
#mesondefine PERSONALITY_PATH

View File

@ -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",