Skip to content

Commit 6aeb74e

Browse files
committed
Merge branch 'nd/make-wildmatch-default'
* nd/make-wildmatch-default: Makefile: promote wildmatch to be the default fnmatch implementation
2 parents fb7dfaa + 4917e1e commit 6aeb74e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ all::
109109
# Define NO_FNMATCH_CASEFOLD if your fnmatch function doesn't have the
110110
# FNM_CASEFOLD GNU extension.
111111
#
112-
# Define USE_WILDMATCH if you want to use Git's wildmatch
112+
# Define NO_WILDMATCH if you do not want to use Git's wildmatch
113113
# implementation as fnmatch
114114
#
115115
# Define NO_GECOS_IN_PWENT if you don't have pw_gecos in struct passwd
@@ -1278,7 +1278,7 @@ ifdef NO_FNMATCH_CASEFOLD
12781278
COMPAT_OBJS += compat/fnmatch/fnmatch.o
12791279
endif
12801280
endif
1281-
ifdef USE_WILDMATCH
1281+
ifndef NO_WILDMATCH
12821282
COMPAT_CFLAGS += -DUSE_WILDMATCH
12831283
endif
12841284
ifdef NO_SETENV

0 commit comments

Comments
 (0)