Alien-pkgconf

 view release on metacpan or  search on metacpan

patch/pkgconf-cygwin-1.2.1.diff  view on Meta::CPAN

diff --git a/libpkgconf/path.c b/libpkgconf/path.c
index 7638a94..4d59b33 100644
--- a/libpkgconf/path.c
+++ b/libpkgconf/path.c
@@ -16,7 +16,7 @@
 #include <libpkgconf/libpkgconf.h>
 #include <libpkgconf/config.h>
 
-#ifdef HAVE_CYGWIN_CONV_PATH
+#if defined(HAVE_CYGWIN_CONV_PATH) && defined(__MSYS__)
 # include <sys/cygwin.h>
 #endif
 
@@ -246,7 +246,7 @@ pkgconf_path_free(pkgconf_list_t *dirlist)
 bool
 pkgconf_path_relocate(char *buf, size_t buflen)
 {
-#if defined(HAVE_CYGWIN_CONV_PATH)
+#if defined(HAVE_CYGWIN_CONV_PATH) && defined(__MSYS__)
 	ssize_t size;
 	char *tmpbuf, *ti;
 



( run in 1.398 second using v1.01-cache-2.11-cpan-5511b514fd6 )