summaryrefslogtreecommitdiff
path: root/rlstdc.h
diff options
context:
space:
mode:
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_ */