summaryrefslogtreecommitdiff
path: root/rlstdc.h
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2014-02-26 10:31:21 -0500
committerChet Ramey <chet.ramey@case.edu>2014-02-26 10:31:21 -0500
commit7628b745a813aac53586b640da056a975f1c443e (patch)
treef27689da65e9873cd0a77f64f334814989ef5478 /rlstdc.h
parent3fede80c7ae9d396a98137ec8e7188a27c327e96 (diff)
downloadreadline-7628b745a813aac53586b640da056a975f1c443e.tar.gz
Readline-6.3 distribution sources and documentationreadline-6.3
Diffstat (limited to 'rlstdc.h')
-rw-r--r--rlstdc.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/rlstdc.h b/rlstdc.h
index a6d2394..2aaa30b 100644
--- a/rlstdc.h
+++ b/rlstdc.h
@@ -42,4 +42,16 @@
# endif
#endif
+/* Moved from config.h.in because readline.h:rl_message depends on these
+ defines. */
+#if defined (__STDC__) && defined (HAVE_STDARG_H)
+# define PREFER_STDARG
+# define USE_VARARGS
+#else
+# if defined (HAVE_VARARGS_H)
+# define PREFER_VARARGS
+# define USE_VARARGS
+# endif
+#endif
+
#endif /* !_RL_STDC_H_ */