]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
GNU file utilities FILEUTILS-3_9b
authorJim Meyering <jim@meyering.net>
Fri, 17 Dec 1993 23:06:39 +0000 (23:06 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 17 Dec 1993 23:06:39 +0000 (23:06 +0000)
lib/fnmatch.h

index 5c94813f4bc97b4b4be8fc5946aee0863751e671..69eab0c0d63add4bd3ecaa1e87b7d1c58154c92e 100644 (file)
@@ -34,6 +34,13 @@ extern "C" {
    non-ANSI C where `const' is problematical.  */
 #endif /* C++ or ANSI C.  */
 
+
+/* We #undef these before defining them because some losing systems
+   (HP-UX A.08.07 for example) define these in <unistd.h>.  */
+#undef FNM_PATHNAME
+#undef FNM_NOESCAPE
+#undef FNM_PERIOD
+
 /* Bits set in the FLAGS argument to `fnmatch'.  */
 #define        FNM_PATHNAME    (1 << 0) /* No wildcard can ever match `/'.  */
 #define        FNM_NOESCAPE    (1 << 1) /* Backslashes don't quote special chars.  */