Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4df9f36
)
forgot to commit the fnmatch.h changes
author
Andrew Tridgell
<tridge@samba.org>
Mon, 1 Nov 1999 21:25:39 +0000
(21:25 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Mon, 1 Nov 1999 21:25:39 +0000
(21:25 +0000)
lib/fnmatch.h
patch
|
blob
|
blame
|
history
diff --git
a/lib/fnmatch.h
b/lib/fnmatch.h
index
ea420e2
..
cae5351
100644
(file)
--- 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. */
#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)
+#if
ndef FNM_FILE_NAME
#define FNM_FILE_NAME FNM_PATHNAME /* Preferred GNU 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. */
#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
#define FNM_CASEFOLD (1 << 4) /* Compare without regard to case. */
#endif