mirror of
https://github.com/GnoConsortium/gno.git
synced 2025-01-02 23:31:56 +00:00
Newer upstream FreeBSD version (supports FNM_CASEFOLD and FNM_LEADING_DIR).
This commit is contained in:
parent
bd69a0e25b
commit
881bc1fec3
@ -42,7 +42,9 @@
|
|||||||
#define FNM_PATHNAME 0x02 /* Slash must be matched by slash. */
|
#define FNM_PATHNAME 0x02 /* Slash must be matched by slash. */
|
||||||
#define FNM_PERIOD 0x04 /* Period must be matched by period. */
|
#define FNM_PERIOD 0x04 /* Period must be matched by period. */
|
||||||
#ifndef _POSIX_SOURCE
|
#ifndef _POSIX_SOURCE
|
||||||
#define FNM_CASEFOLD 0x08 /* Case insensitive match (GNO-specific) */
|
#define FNM_CASEFOLD 0x08 /* Case insensitive search. */
|
||||||
|
#define FNM_LEADING_DIR 0x10 /* Ignore /<tail> after Imatch. */
|
||||||
|
#define FNM_IGNORECASE FNM_CASEFOLD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _SYS_CDEFS_H_
|
#ifndef _SYS_CDEFS_H_
|
||||||
@ -50,9 +52,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
#ifndef _POSIX_SOURCE
|
|
||||||
int fnmatch __P((const char *, const char *, int));
|
int fnmatch __P((const char *, const char *, int));
|
||||||
#endif
|
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
|
||||||
#endif /* !_FNMATCH_H_ */
|
#endif /* !_FNMATCH_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user