From b06bbe75a4ad422c71e94927885eb18604e3f740 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Mon, 23 Jan 2017 23:17:26 -0600 Subject: [PATCH] libpkgconf: path: only enable cygwin path relocation backend for msys (ref #72) --- libpkgconf/path.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 #include -#ifdef HAVE_CYGWIN_CONV_PATH +#if defined(HAVE_CYGWIN_CONV_PATH) && defined(__MSYS__) # include #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;