From c350c27c3d97d079eca9f69f459162ced842031b Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 17 Dec 1993 23:06:39 +0000 Subject: [PATCH] GNU file utilities --- lib/fnmatch.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/fnmatch.h b/lib/fnmatch.h index 5c94813f4..69eab0c0d 100644 --- a/lib/fnmatch.h +++ b/lib/fnmatch.h @@ -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 . */ +#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. */ -- 2.11.0