summaryrefslogtreecommitdiff
path: root/posix/fnmatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'posix/fnmatch.h')
-rw-r--r--posix/fnmatch.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/posix/fnmatch.h b/posix/fnmatch.h
index d9d73b3d86..9a0036e53a 100644
--- a/posix/fnmatch.h
+++ b/posix/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. */