[PATCH 4/8] Remove compat definition of G_IS_DIR_SEPARATOR

Dan Nicholson dbn.lists at gmail.com
Sat Apr 20 07:42:21 PDT 2013


This has been available on glib since 2.5.4, and pkg-config requires at
least 2.16.
---
 parse.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/parse.c b/parse.c
index 2809735..0b98be5 100644
--- a/parse.c
+++ b/parse.c
@@ -40,12 +40,6 @@ char *prefix_variable = "prefix";
 gboolean msvc_syntax = FALSE;
 #endif
 
-#ifdef G_OS_WIN32
-#ifndef G_IS_DIR_SEPARATOR
-#define G_IS_DIR_SEPARATOR(c) ((c) == G_DIR_SEPARATOR || (c) == '/')
-#endif
-#endif
-
 /**
  * Read an entire line from a file into a buffer. Lines may
  * be delimited with '\n', '\r', '\n\r', or '\r\n'. The delimiter
-- 
1.8.1.4



More information about the pkg-config mailing list