aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/lisp.h6
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 755b02631f6..80baa5d131a 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -55,6 +55,8 @@
55 (EMACS_INT, EMACS_UINT, BITS_PER_EMACS_INT, pI): Define to 64-bit 55 (EMACS_INT, EMACS_UINT, BITS_PER_EMACS_INT, pI): Define to 64-bit
56 on 32-bit hosts that have 64-bit int, so that they can access 56 on 32-bit hosts that have 64-bit int, so that they can access
57 large files. 57 large files.
58 However, temporarily disable this change unless the temporary
59 symbol WIDE_EMACS_INT is defined.
58 60
59 * lread.c, process.c: Do not include <inttypes.h>; lisp.h does it now. 61 * lread.c, process.c: Do not include <inttypes.h>; lisp.h does it now.
60 62
diff --git a/src/lisp.h b/src/lisp.h
index bb3a8cc393c..66f5c962be8 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -34,9 +34,13 @@ extern void check_cons_list (void);
34#define CHECK_CONS_LIST() ((void) 0) 34#define CHECK_CONS_LIST() ((void) 0)
35#endif 35#endif
36 36
37/* Temporarily disable wider-than-pointer integers until they're tested more.
38 Build with CFLAGS='-DWIDE_EMACS_INT' to try them out. */
39/* #undef WIDE_EMACS_INT */
40
37/* These are default choices for the types to use. */ 41/* These are default choices for the types to use. */
38#ifndef EMACS_INT 42#ifndef EMACS_INT
39# if BITS_PER_LONG < BITS_PER_LONG_LONG 43# if BITS_PER_LONG < BITS_PER_LONG_LONG && defined WIDE_EMACS_INT
40# define EMACS_INT long long 44# define EMACS_INT long long
41# define BITS_PER_EMACS_INT BITS_PER_LONG_LONG 45# define BITS_PER_EMACS_INT BITS_PER_LONG_LONG
42# define pI "ll" 46# define pI "ll"