summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
Diffstat (limited to 'demos')
-rw-r--r--demos/expr/README2
-rw-r--r--demos/expr/expr-impl.h6
2 files changed, 2 insertions, 6 deletions
diff --git a/demos/expr/README b/demos/expr/README
index ea67992da..c1e71ee5e 100644
--- a/demos/expr/README
+++ b/demos/expr/README
@@ -90,7 +90,7 @@ hex when base==0.
White space, as indicated by <ctype.h> isspace(), is ignored except for the
purpose of separating tokens.
-Variables can be included in expressions by putting them in the varargs list
+Variables can be included in expressions by putting them in the stdarg list
after the string. "a", "b", "c" etc in the expression string designate
those values. For example,
diff --git a/demos/expr/expr-impl.h b/demos/expr/expr-impl.h
index 76d7b5a47..ee61d3eec 100644
--- a/demos/expr/expr-impl.h
+++ b/demos/expr/expr-impl.h
@@ -26,12 +26,8 @@ along with the GNU MP Library. If not, see https://www.gnu.org/licenses/. */
|| (defined (__mips) && defined (_SYSTYPE_SVR4)) \
|| defined (_MSC_VER) \
|| defined (_WIN32)
-#define HAVE_STDARG 1
+
#include <stdarg.h>
-#else
-#define HAVE_STDARG 0
-#include <varargs.h>
-#endif
#include "expr.h"