summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/config.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/config.in b/src/config.in
index b015a2b5312..99572129f92 100644
--- a/src/config.in
+++ b/src/config.in
@@ -166,10 +166,14 @@ and this notice must be preserved on all copies. */
#undef config_machfile
#include config_machfile
+/* These typedefs shouldn't appear when alloca.s or Makefile.in
+ includes config.h. */
+#ifndef NOT_C_CODE
#ifndef SPECIAL_EMACS_INT
typedef long EMACS_INT;
typedef unsigned long EMACS_UINT;
#endif
+#endif
/* Load in the conversion definitions if this system
needs them and the source file being compiled has not
@@ -263,7 +267,7 @@ typedef unsigned long EMACS_UINT;
programs assume that if you have a config.h file, you must declare
the type of getenv.
- This declaration shouldn't appear when alloca.s or ymakefile
+ This declaration shouldn't appear when alloca.s or Makefile.in
includes config.h. */
#ifndef NOT_C_CODE
extern char *getenv ();