summaryrefslogtreecommitdiff
path: root/src/buffer.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2012-07-27 12:24:34 +0300
committerEli Zaretskii <eliz@gnu.org>2012-07-27 12:24:34 +0300
commit3438fe218c77633ee2c5f106e3a335f906347247 (patch)
tree4b7cfbb14dbf83c94541eb4b69b673bc6ec73099 /src/buffer.c
parent0000d0d54bb9cbc835172d9f5f8ff7595786af62 (diff)
downloademacs-3438fe218c77633ee2c5f106e3a335f906347247.tar.gz
emacs-3438fe218c77633ee2c5f106e3a335f906347247.tar.bz2
emacs-3438fe218c77633ee2c5f106e3a335f906347247.zip
Fix failure to compile on Windows due to 2012-07-27T06:04:35Z!dmantipov@yandex.ru.
src/lisp.h (enum constype): Use CONSTYPE_HEAP and CONSTYPE_PURE for enumeration constants, as PURE and HEAP are too general, and clash with other headers and sources, such as gmalloc.c and the MS-Windows system headers. All users changed.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index c2afd7f4a5e..5e45882b892 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5212,7 +5212,7 @@ syms_of_buffer (void)
DEFSYM (Qkill_buffer_query_functions, "kill-buffer-query-functions");
Fput (Qprotected_field, Qerror_conditions,
- listn (PURE, 2, Qprotected_field, Qerror));
+ listn (CONSTYPE_PURE, 2, Qprotected_field, Qerror));
Fput (Qprotected_field, Qerror_message,
build_pure_c_string ("Attempt to modify a protected field"));