summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1999-11-01 21:25:39 +0000
committerAndrew Tridgell <tridge@samba.org>1999-11-01 21:25:39 +0000
commit3adffb52e615d5e0ae4b00bf6dbca736af1d8860 (patch)
tree1ff0db776a9785cd542364495cbdbc68d2f01e08
parent4df9f36841dbdf5fa088a402d0dcdc8a4e0c86a6 (diff)
downloadrsync-3adffb52e615d5e0ae4b00bf6dbca736af1d8860.tar.gz
forgot to commit the fnmatch.h changes
-rw-r--r--lib/fnmatch.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/fnmatch.h b/lib/fnmatch.h
index ea420e26..cae53515 100644
--- a/lib/fnmatch.h
+++ b/lib/fnmatch.h
@@ -48,9 +48,13 @@ extern "C" {
#define FNM_NOESCAPE (1 << 1) /* Backslashes don't quote special chars. */
#define FNM_PERIOD (1 << 2) /* Leading `.' is matched only explicitly. */
-#if !defined (_POSIX_C_SOURCE) || _POSIX_C_SOURCE < 2 || defined (_GNU_SOURCE)
+#ifndef FNM_FILE_NAME
#define FNM_FILE_NAME FNM_PATHNAME /* Preferred GNU name. */
+#endif
+#ifndef FNM_LEADING_DIR
#define FNM_LEADING_DIR (1 << 3) /* Ignore `/...' after a match. */
+#endif
+#ifndef FNM_CASEFOLD
#define FNM_CASEFOLD (1 << 4) /* Compare without regard to case. */
#endif