summaryrefslogtreecommitdiff
path: root/MSVC/regex/regex.h
diff options
context:
space:
mode:
authorpixel <pixel>2004-12-19 03:20:30 +0000
committerpixel <pixel>2004-12-19 03:20:30 +0000
commitbbb9b3a36ac54bf428b2e17316ae856663e9da6b (patch)
tree3061140fef086950cac6c48c86c467596ac3b96c /MSVC/regex/regex.h
parent6b5d244193f23f0c5ba405339d5363b0f9ce0f45 (diff)
Commiting the real regexp fix.
Diffstat (limited to 'MSVC/regex/regex.h')
-rw-r--r--MSVC/regex/regex.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/MSVC/regex/regex.h b/MSVC/regex/regex.h
index 03940f9..264ed5f 100644
--- a/MSVC/regex/regex.h
+++ b/MSVC/regex/regex.h
@@ -1,3 +1,8 @@
+#ifndef __STDC__
+#define __STDC__ 1
+#define no__STDC__
+#endif
+
/* Definitions for data structures and routines for the regular
expression library, version 0.12.
@@ -389,15 +394,15 @@ typedef struct
unfortunately clutters up the declarations a bit, but I think it's
worth it. */
-//#if __STDC__
+#if __STDC__
#define _RE_ARGS(args) args
-//#else /* not __STDC__ */
+#else /* not __STDC__ */
-//#define _RE_ARGS(args) ()
+#define _RE_ARGS(args) ()
-//#endif /* not __STDC__ */
+#endif /* not __STDC__ */
#ifdef __cplusplus
extern "C" {
@@ -496,3 +501,7 @@ version-control: t
trim-versions-without-asking: nil
End:
*/
+
+#ifdef no__STDC__
+#undef __STDC__
+#endif