X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/9dce9b45b3fb2417fd09264ae085e6c89572d058..4762db4fc90e0bd0c04c9ba7c50123d378427fd0:/lib/fnmatch.c diff --git a/lib/fnmatch.c b/lib/fnmatch.c index 81e0680e..2feeac51 100644 --- a/lib/fnmatch.c +++ b/lib/fnmatch.c @@ -2,7 +2,7 @@ #ifndef HAVE_FNMATCH /* ----- THE FOLLOWING UP TO 'END' is glibc-2.1.2 posix/fnmatch.c - except for the part with the '#if 0' */ + except for the parts with '#if 0' */ /* Copyright (C) 1991, 92, 93, 96, 97, 98, 99 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -22,6 +22,8 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#if 0 /* header files included better by ../rsync.h */ + #if HAVE_CONFIG_H # include #endif @@ -45,6 +47,7 @@ # include #endif +#endif /* 0 */ /* For platform which support the ISO C amendement 1 functionality we support user defined character classes. */ #if defined _LIBC || (defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H) @@ -61,8 +64,7 @@ program understand `configure --with-gnu-libc' and omit the object files, it is simpler to just do this in the source for each such file. */ -#if defined _LIBC || !defined __GNU_LIBRARY__ - +#if 1 # if defined STDC_HEADERS || !defined isascii # define ISASCII(c) 1