From a6b512bf8118600f682a3966bf4a5f0f45d73b7c Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 24 Sep 1994 05:09:47 +0000 Subject: [PATCH] (STACK_DIRECTION): Don't redefine if defined already. Move definition down past #include's. --- src/config.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/config.in b/src/config.in index 95c9993a75..004e7620c1 100644 --- a/src/config.in +++ b/src/config.in @@ -119,7 +119,6 @@ and this notice must be preserved on all copies. */ #undef HAVE_LONG_FILE_NAMES #undef CRAY_STACKSEG_END -#undef STACK_DIRECTION #undef UNEXEC_SRC @@ -250,6 +249,11 @@ typedef unsigned long EMACS_UINT; "-I/..." or something similar. */ #undef C_SWITCH_X_SITE +/* Define STACK_DIRECTION here, but not if m/foo.h did. */ +#ifndef STACK_DIRECTION +#undef STACK_DIRECTION +#endif + /* Define the return type of signal handlers if the s-xxx file did not already do so. */ #define RETSIGTYPE void -- GitLab