summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-02-08 16:30:33 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2011-02-08 16:30:33 -0800
commit64df8c10985095b9fe15b622da41cd45de8b9261 (patch)
treee63831b03c1766c58d7a73d26ed1d1ff1ef5af2b /lib-src
parentbfcb151a965a2970f26161f24abd8aed59433fd6 (diff)
downloademacs-64df8c10985095b9fe15b622da41cd45de8b9261.tar.gz
* make-docfile.c (EMACS_INTEGER): Rename from EMACS_INT.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog6
-rw-r--r--lib-src/make-docfile.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 40f6958703e..0f93941151e 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,9 @@
+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>
* make-docfile.c: Unconditionally include stdlib.h.
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c
index 6ce0b886ab4..93994c1ed3e 100644
--- a/lib-src/make-docfile.c
+++ b/lib-src/make-docfile.c
@@ -558,7 +558,7 @@ write_c_args (FILE *out, char *func, char *buf, int minargs, int maxargs)
/* The types of globals. */
enum global_type
{
- EMACS_INT,
+ EMACS_INTEGER,
BOOLEAN,
LISP_OBJECT,
INVALID
@@ -621,7 +621,7 @@ write_globals (void)
switch (globals[i].type)
{
- case EMACS_INT:
+ case EMACS_INTEGER:
type = "EMACS_INT";
break;
case BOOLEAN:
@@ -733,7 +733,7 @@ scan_c_file (char *filename, const char *mode)
if (generate_globals)
{
if (c == 'I')
- type = EMACS_INT;
+ type = EMACS_INTEGER;
else if (c == 'L')
type = LISP_OBJECT;
else if (c == 'B')