Commit 64df8c10 authored by Paul Eggert's avatar Paul Eggert

* make-docfile.c (EMACS_INTEGER): Rename from EMACS_INT.

parent bfcb151a
2011-02-09 Paul Eggert <eggert@cs.ucla.edu>
* make-docfile.c (EMACS_INTEGER): Rename from EMACS_INT.
This avoids collision with config.h's EMACS_INT on some
configurations. All uses changed.
2011-02-08 Tom Tromey <tromey@redhat.com> 2011-02-08 Tom Tromey <tromey@redhat.com>
* make-docfile.c: Unconditionally include stdlib.h. * make-docfile.c: Unconditionally include stdlib.h.
......
...@@ -558,7 +558,7 @@ write_c_args (FILE *out, char *func, char *buf, int minargs, int maxargs) ...@@ -558,7 +558,7 @@ write_c_args (FILE *out, char *func, char *buf, int minargs, int maxargs)
/* The types of globals. */ /* The types of globals. */
enum global_type enum global_type
{ {
EMACS_INT, EMACS_INTEGER,
BOOLEAN, BOOLEAN,
LISP_OBJECT, LISP_OBJECT,
INVALID INVALID
...@@ -621,7 +621,7 @@ write_globals (void) ...@@ -621,7 +621,7 @@ write_globals (void)
switch (globals[i].type) switch (globals[i].type)
{ {
case EMACS_INT: case EMACS_INTEGER:
type = "EMACS_INT"; type = "EMACS_INT";
break; break;
case BOOLEAN: case BOOLEAN:
...@@ -733,7 +733,7 @@ scan_c_file (char *filename, const char *mode) ...@@ -733,7 +733,7 @@ scan_c_file (char *filename, const char *mode)
if (generate_globals) if (generate_globals)
{ {
if (c == 'I') if (c == 'I')
type = EMACS_INT; type = EMACS_INTEGER;
else if (c == 'L') else if (c == 'L')
type = LISP_OBJECT; type = LISP_OBJECT;
else if (c == 'B') else if (c == 'B')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment