forked from ariadne/pkgconf
libpkgconf: path: only enable cygwin path relocation backend for msys (ref #72)
parent
e36a92dc9e
commit
b06bbe75a4
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue