summaryrefslogtreecommitdiff
path: root/findme.c
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2005-07-14 13:05:20 +0000
committerArch Librarian <arch@canonical.com>2005-07-14 13:05:20 +0000
commitd793148d0690c72dfdd7f024028edb229ad1b4bf (patch)
tree4ee596e3b35998cecea7e1b1d861986eff78e1ad /findme.c
parentd2c6c3cccbb9381d4cf030e4ac2d5a63dc3c4c79 (diff)
downloadpkg-config-d793148d0690c72dfdd7f024028edb229ad1b4bf.tar.gz
2002-09-13 Tor Lillqvist <tml@iki.fi>
Author: tml Date: 2002-09-12 20:47:07 GMT 2002-09-13 Tor Lillqvist <tml@iki.fi> * Makefile.am (USE_INSTALLED_GLIB): Seems that the automake version used by Havoc doesn't recognize pkg_config_CFLAGS and pkg_config_LDFLAGS, thus failing builds on Win32 directly from the tarball. Set included_glib_includes and pkg_config_LDADD instead, then, like in the !USE_INSTALLED_GLIB branch. * findme.c (X_OK): If X_OK undefined, define as 1, always, not only if G_OS_WIN32, which is never defined here. Fixes a corner case on Win32 with MSYS and mingw where configure as included in the release tarball for some reason doesn't find unistd.h.
Diffstat (limited to 'findme.c')
-rw-r--r--findme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/findme.c b/findme.c
index 373e2c4..be72e63 100644
--- a/findme.c
+++ b/findme.c
@@ -44,7 +44,7 @@
#include "findme.h"
-#if defined(G_OS_WIN32) && !defined(X_OK)
+#if !defined(X_OK)
#define X_OK 1
#endif