diff options
Diffstat (limited to 'match.c')
-rw-r--r-- | match.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -111,6 +111,8 @@ match_pattern(const char *s, const char *pattern) | |||
111 | /* NOTREACHED */ | 111 | /* NOTREACHED */ |
112 | } | 112 | } |
113 | 113 | ||
114 | #ifndef HAVE_CYGWIN /* Cygwin version in openbsd-compat/bsd-cygwin_util.c */ | ||
115 | |||
114 | /* | 116 | /* |
115 | * Tries to match the string against the | 117 | * Tries to match the string against the |
116 | * comma-separated sequence of subpatterns (each possibly preceded by ! to | 118 | * comma-separated sequence of subpatterns (each possibly preceded by ! to |
@@ -170,6 +172,8 @@ match_pattern_list(const char *string, const char *pattern, int dolower) | |||
170 | return got_positive; | 172 | return got_positive; |
171 | } | 173 | } |
172 | 174 | ||
175 | #endif | ||
176 | |||
173 | /* | 177 | /* |
174 | * Tries to match the host name (which must be in all lowercase) against the | 178 | * Tries to match the host name (which must be in all lowercase) against the |
175 | * comma-separated sequence of subpatterns (each possibly preceded by ! to | 179 | * comma-separated sequence of subpatterns (each possibly preceded by ! to |