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