Rev 4874 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4874 | Rev 6536 | ||
---|---|---|---|
Line 31... | Line 31... | ||
31 | */ |
31 | */ |
Line 32... | Line 32... | ||
32 | 32 | ||
33 | #ifndef _FNMATCH_H_ |
33 | #ifndef _FNMATCH_H_ |
Line -... | Line 34... | ||
- | 34 | #define _FNMATCH_H_ |
|
- | 35 | ||
34 | #define _FNMATCH_H_ |
36 | #include |
Line 35... | Line 37... | ||
35 | 37 | ||
36 | #define FNM_NOMATCH 1 /* Match failed. */ |
38 | #define FNM_NOMATCH 1 /* Match failed. */ |
37 | 39 | ||
Line 38... | Line 40... | ||
38 | #define FNM_NOESCAPE 0x01 /* Disable backslash escaping. */ |
40 | #define FNM_NOESCAPE 0x01 /* Disable backslash escaping. */ |
39 | #define FNM_PATHNAME 0x02 /* Slash must be matched by slash. */ |
41 | #define FNM_PATHNAME 0x02 /* Slash must be matched by slash. */ |
40 | #define FNM_PERIOD 0x04 /* Period must be matched by period. */ |
42 | #define FNM_PERIOD 0x04 /* Period must be matched by period. */ |
41 | 43 | ||
42 | #if defined(_GNU_SOURCE) || !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE) |
44 | #if __GNU_VISIBLE |
43 | #define FNM_LEADING_DIR 0x08 /* Ignore / |
45 | #define FNM_LEADING_DIR 0x08 /* Ignore / |
Line 44... | Line -... | ||
44 | #define FNM_CASEFOLD 0x10 /* Case insensitive search. */ |
- | |
45 | #define FNM_IGNORECASE FNM_CASEFOLD |
- | |
46 | #define FNM_FILE_NAME FNM_PATHNAME |
46 | #define FNM_CASEFOLD 0x10 /* Case insensitive search. */ |
47 | #endif |
47 | #define FNM_IGNORECASE FNM_CASEFOLD |
48 | 48 | #define FNM_FILE_NAME FNM_PATHNAME |
|
Line 49... | Line 49... | ||
49 | #include |
49 | #endif |