summaryrefslogtreecommitdiff
path: root/config_h.SH
diff options
context:
space:
mode:
authorMarcus Holland-Moritz <mhx-perl@gmx.net>2008-11-03 23:40:11 +0100
committerH.Merijn Brand <h.m.brand@xs4all.nl>2008-11-06 20:18:08 +0000
commite74475c7f7d5be6b248e4c69480e5336325d067b (patch)
treec26bc9eec1d1bb6ca5c4115cf3b28f0e97abb993 /config_h.SH
parent24d786f4d2806834028ce32abc1769da2e945f9b (diff)
downloadperl-e74475c7f7d5be6b248e4c69480e5336325d067b.tar.gz
Add prototype detection for NDBM header files
Message-ID: <20081103224011.26c223b3@r2d2> p4raw-id: //depot/perl@34756
Diffstat (limited to 'config_h.SH')
-rw-r--r--config_h.SH21
1 files changed, 21 insertions, 0 deletions
diff --git a/config_h.SH b/config_h.SH
index ad65bdfdc7..a01f274fda 100644
--- a/config_h.SH
+++ b/config_h.SH
@@ -2420,9 +2420,30 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
* be included. This is the location of the ndbm.h compatibility file
* in Debian 4.0.
*/
+/* NDBM_H_USES_PROTOTYPES:
+ * This symbol, if defined, indicates that <ndbm.h> uses real ANSI C
+ * prototypes instead of K&R style function declarations without any
+ * parameter information. While ANSI C prototypes are supported in C++,
+ * K&R style function declarations will yield errors.
+ */
+/* GDBMNDBM_H_USES_PROTOTYPES:
+ * This symbol, if defined, indicates that <gdbm/ndbm.h> uses real ANSI C
+ * prototypes instead of K&R style function declarations without any
+ * parameter information. While ANSI C prototypes are supported in C++,
+ * K&R style function declarations will yield errors.
+ */
+/* GDBM_NDBM_H_USES_PROTOTYPES:
+ * This symbol, if defined, indicates that <gdbm-ndbm.h> uses real ANSI C
+ * prototypes instead of K&R style function declarations without any
+ * parameter information. While ANSI C prototypes are supported in C++,
+ * K&R style function declarations will yield errors.
+ */
#$i_ndbm I_NDBM /**/
#$i_gdbmndbm I_GDBMNDBM /**/
#$i_gdbm_ndbm I_GDBM_NDBM /**/
+#$d_ndbm_h_uses_prototypes NDBM_H_USES_PROTOTYPES /**/
+#$d_gdbmndbm_h_uses_prototypes GDBMNDBM_H_USES_PROTOTYPES /**/
+#$d_gdbm_ndbm_h_uses_prototypes GDBM_NDBM_H_USES_PROTOTYPES /**/
/* I_NETDB:
* This symbol, if defined, indicates that <netdb.h> exists and