depot/third_party/nixpkgs/pkgs/development/libraries/popt/1.16-cygwin.patch
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

11 lines
499 B
Diff

--- origsrc/poptconfig.c 2009-05-20 08:18:07.000000000 -0500
+++ src/poptconfig.c 2012-03-29 18:13:46.869286100 -0500
@@ -42,7 +42,7 @@ extern int glob_pattern_p (const char *_
/*@=declundef =exportheader =incondefs =protoparammatch =redecl =type @*/
#endif /* __LCLINT__ */
-#if !defined(__GLIBC__)
+#if !defined(__GLIBC__) && !defined(__CYGWIN__)
/* Return nonzero if PATTERN contains any metacharacters.
Metacharacters can be quoted with backslashes if QUOTE is nonzero. */
static int