]> git.saurik.com Git - bison.git/blobdiff - acconfig.h
Use prototypes if the compiler understands them.
[bison.git] / acconfig.h
index fbf4463c9188c5ff1ddf8a9d2c0a364575094c99..de444f8e8dc609a04c05bcd1ea9f5b2f689c19d0 100644 (file)
@@ -9,6 +9,15 @@
 /* Version of package.  */
 #undef VERSION
 
+/* Define if the compiler understands prototypes.  */
+#undef PROTOTYPES
+
 @BOTTOM@
 
+#if defined(PROTOTYPES) || defined(__cplusplus)
+# define PARAMS(p) p
+#else
+# define PARAMS(p) ()
+#endif
+
 #endif  /* CONFIG_H */