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/libpkgconf.h>
|
||||||
#include <libpkgconf/config.h>
|
#include <libpkgconf/config.h>
|
||||||
|
|
||||||
#ifdef HAVE_CYGWIN_CONV_PATH
|
#if defined(HAVE_CYGWIN_CONV_PATH) && defined(__MSYS__)
|
||||||
# include <sys/cygwin.h>
|
# include <sys/cygwin.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -246,7 +246,7 @@ pkgconf_path_free(pkgconf_list_t *dirlist)
|
||||||
bool
|
bool
|
||||||
pkgconf_path_relocate(char *buf, size_t buflen)
|
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;
|
ssize_t size;
|
||||||
char *tmpbuf, *ti;
|
char *tmpbuf, *ti;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue