summaryrefslogtreecommitdiff
path: root/regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'regex.c')
-rw-r--r--regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regex.c b/regex.c
index b2e25fcf67..206e99a0ca 100644
--- a/regex.c
+++ b/regex.c
@@ -51,7 +51,7 @@
# include <sys/types.h>
#endif
-#ifndef __STDC__
+#if !defined(__STDC__) && !defined(_MSC_VER)
# define volatile
#endif