summaryrefslogtreecommitdiff
path: root/posix/glob.h
diff options
context:
space:
mode:
Diffstat (limited to 'posix/glob.h')
-rw-r--r--posix/glob.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/posix/glob.h b/posix/glob.h
index ba24d890c4..571bd5e405 100644
--- a/posix/glob.h
+++ b/posix/glob.h
@@ -25,7 +25,8 @@ extern "C"
#endif
#undef __ptr_t
-#if defined (__cplusplus) || (defined (__STDC__) && __STDC__)
+#if (defined (__cplusplus) || (defined (__STDC__) && __STDC__) \
+ || defined (WIN32))
#undef __P
#define __P(protos) protos
#define __ptr_t void *