summaryrefslogtreecommitdiff
path: root/config_h.SH
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2010-01-05 09:36:19 +0100
committerH.Merijn Brand <h.m.brand@xs4all.nl>2010-01-05 09:38:34 +0100
commitd03b3b00ac22f32af87a752669a46d9d06ae1561 (patch)
tree28f73399a52030ba5604b9035ed2c19ae037b15b /config_h.SH
parente10204135b763e864169cd1f19037fc2f8c37385 (diff)
downloadperl-d03b3b00ac22f32af87a752669a46d9d06ae1561.tar.gz
FD 4 is not (yet) open at this stage.
Regenerated after backporting 88a6f4fc380d30c40 Please *do* remember to notify the metaconfig folk when directly patching Configure Bring back Missing parts
Diffstat (limited to 'config_h.SH')
-rwxr-xr-xconfig_h.SH22
1 files changed, 22 insertions, 0 deletions
diff --git a/config_h.SH b/config_h.SH
index ff4c86092a..8392c60350 100755
--- a/config_h.SH
+++ b/config_h.SH
@@ -894,6 +894,28 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
*/
#$i_vfork I_VFORK /**/
+/* CAN_VAPROTO:
+ * This variable is defined on systems supporting prototype declaration
+ * of functions with a variable number of arguments.
+ */
+/* _V:
+ * This macro is used to declare function parameters in prototypes for
+ * functions with a variable number of parameters. Use double parentheses.
+ * For example:
+ *
+ * int printf _V((char *fmt, ...));
+ *
+ * Remember to use the plain simple _() macro when declaring a function
+ * with no variable number of arguments, since it might be possible to
+ * have a non-effect _V() macro and still get prototypes via _().
+ */
+#$vaproto CAN_VAPROTO /**/
+#ifdef CAN_VAPROTO
+#define _V(args) args
+#else
+#define _V(args) ()
+#endif
+
/* INTSIZE:
* This symbol contains the value of sizeof(int) so that the C
* preprocessor can make decisions based on it.