summaryrefslogtreecommitdiff
path: root/src/syntax.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/syntax.c
parent0000d0d54bb9cbc835172d9f5f8ff7595786af62 (diff)
downloademacs-3438fe218c77633ee2c5f106e3a335f906347247.tar.gz
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/syntax.c')
-rw-r--r--src/syntax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax.c b/src/syntax.c
index 1e57c00e512..14bec9a9c2f 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -3473,7 +3473,7 @@ syms_of_syntax (void)
DEFSYM (Qscan_error, "scan-error");
Fput (Qscan_error, Qerror_conditions,
- listn (PURE, 2, Qscan_error, Qerror));
+ listn (CONSTYPE_PURE, 2, Qscan_error, Qerror));
Fput (Qscan_error, Qerror_message,
build_pure_c_string ("Scan error"));