Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/include Make FNM_CASEFOLD !_XOPEN_SOURCE, too.



details:   https://anonhg.NetBSD.org/src/rev/a3d65b827ddc
branches:  trunk
changeset: 516672:a3d65b827ddc
user:      kleink <kleink%NetBSD.org@localhost>
date:      Sat Oct 27 15:41:18 2001 +0000

description:
Make FNM_CASEFOLD !_XOPEN_SOURCE, too.

diffstat:

 include/fnmatch.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 66a46349c215 -r a3d65b827ddc include/fnmatch.h
--- a/include/fnmatch.h Sat Oct 27 15:35:19 2001 +0000
+++ b/include/fnmatch.h Sat Oct 27 15:41:18 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fnmatch.h,v 1.7 2000/06/28 01:13:35 thorpej Exp $      */
+/*     $NetBSD: fnmatch.h,v 1.8 2001/10/27 15:41:18 kleink Exp $       */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -46,7 +46,7 @@
 #define        FNM_NOESCAPE    0x01    /* Disable backslash escaping. */
 #define        FNM_PATHNAME    0x02    /* Slash must be matched by slash. */
 #define        FNM_PERIOD      0x04    /* Period must be matched by period. */
-#if !defined(_POSIX_C_SOURCE)
+#if !defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)
 #define        FNM_CASEFOLD    0x08    /* Pattern is matched case-insensitive */
 #endif
 



Home | Main Index | Thread Index | Old Index