summaryrefslogtreecommitdiff
path: root/glob/fnmatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'glob/fnmatch.h')
-rw-r--r--glob/fnmatch.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/glob/fnmatch.h b/glob/fnmatch.h
index d9d73b3..9a0036e 100644
--- a/glob/fnmatch.h
+++ b/glob/fnmatch.h
@@ -23,7 +23,8 @@ Cambridge, MA 02139, USA. */
extern "C" {
#endif
-#if defined (__cplusplus) || (defined (__STDC__) && __STDC__)
+#if (defined (__cplusplus) || (defined (__STDC__) && __STDC__) \
+ || defined (WIN32))
#undef __P
#define __P(protos) protos
#else /* Not C++ or ANSI C. */