aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Love2000-06-19 21:59:46 +0000
committerDave Love2000-06-19 21:59:46 +0000
commit2a90cd71a89f85f338a1a8ab99d94ac584376e23 (patch)
treee35bdc50e78c8ac4fc086a47a49fc118f7d000ec /src
parent14977feacfb0019fd14dafe07a854435727606b7 (diff)
downloademacs-2a90cd71a89f85f338a1a8ab99d94ac584376e23.tar.gz
emacs-2a90cd71a89f85f338a1a8ab99d94ac584376e23.zip
Test PROTOTYPES as well as __STDC__.
Diffstat (limited to 'src')
-rw-r--r--src/regex.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/regex.h b/src/regex.h
index 9ee2060a1ed..2f6860d9ec5 100644
--- a/src/regex.h
+++ b/src/regex.h
@@ -412,15 +412,15 @@ typedef struct
412 unfortunately clutters up the declarations a bit, but I think it's 412 unfortunately clutters up the declarations a bit, but I think it's
413 worth it. */ 413 worth it. */
414 414
415#if __STDC__ 415#if defined __STDC__ || defined PROTOTYPES
416 416
417#define _RE_ARGS(args) args 417#define _RE_ARGS(args) args
418 418
419#else /* not __STDC__ */ 419#else /* not __STDC__ || PROTOTYPES */
420 420
421#define _RE_ARGS(args) () 421#define _RE_ARGS(args) ()
422 422
423#endif /* not __STDC__ */ 423#endif /* not __STDC__ || PROTOTYPES */
424 424
425/* Sets the current default syntax to SYNTAX, and return the old syntax. 425/* Sets the current default syntax to SYNTAX, and return the old syntax.
426 You can also simply assign to the `re_syntax_options' variable. */ 426 You can also simply assign to the `re_syntax_options' variable. */