# HG changeset patch # User Jim Meyering # Date 756169599 0 # Node ID 5e381e0380f4668dcde868875f980a30fb00042f # Parent 5721c3bca320c46d9e20c75f7a7450d9bf45590d GNU file utilities diff --git a/lib/fnmatch.h b/lib/fnmatch.h --- a/lib/fnmatch.h +++ b/lib/fnmatch.h @@ -34,6 +34,13 @@ 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. */