aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-06-03 11:28:20 -0700
committerPaul Eggert2011-06-03 11:28:20 -0700
commitb447c159a98ef4b4a928373123b7f73a4ad7a22f (patch)
tree3543136290b2d0b9f67b50034ce6ab601049c0f5 /src
parent9ca05932715b387d963f7dd490a2b78a67ad200a (diff)
parent47de45b793c19b81914434b12476d3e6b5e9342e (diff)
downloademacs-b447c159a98ef4b4a928373123b7f73a4ad7a22f.tar.gz
emacs-b447c159a98ef4b4a928373123b7f73a4ad7a22f.zip
* lisp.h (WIDE_EMACS_INT): Now defaults to 1.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/lisp.h9
2 files changed, 7 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 2b81f66d8b6..490f5428e3a 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
12011-06-03 Paul Eggert <eggert@cs.ucla.edu> 12011-06-03 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * lisp.h (WIDE_EMACS_INT): Now defaults to 1.
4
3 * xselect.c: Use 'unsigned' more consistently. 5 * xselect.c: Use 'unsigned' more consistently.
4 (selection_data_to_lisp_data, lisp_data_to_selection_data): 6 (selection_data_to_lisp_data, lisp_data_to_selection_data):
5 Use 'unsigned' consistently when computing sizes of unsigned objects. 7 Use 'unsigned' consistently when computing sizes of unsigned objects.
diff --git a/src/lisp.h b/src/lisp.h
index 37687f884d5..e694bbcc58e 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -36,13 +36,14 @@ extern void check_cons_list (void);
36#define CHECK_CONS_LIST() ((void) 0) 36#define CHECK_CONS_LIST() ((void) 0)
37#endif 37#endif
38 38
39/* Temporarily disable wider-than-pointer integers until they're tested more. 39/* To disable wider-than-pointer integers, build with -DWIDE_EMACS_INT=0. */
40 Build with CFLAGS='-DWIDE_EMACS_INT' to try them out. */ 40#ifndef WIDE_EMACS_INT
41/* #undef WIDE_EMACS_INT */ 41#define WIDE_EMACS_INT 1
42#endif
42 43
43/* These are default choices for the types to use. */ 44/* These are default choices for the types to use. */
44#ifndef EMACS_INT 45#ifndef EMACS_INT
45# if BITS_PER_LONG < BITS_PER_LONG_LONG && defined WIDE_EMACS_INT 46# if BITS_PER_LONG < BITS_PER_LONG_LONG && WIDE_EMACS_INT
46# define EMACS_INT long long 47# define EMACS_INT long long
47# define BITS_PER_EMACS_INT BITS_PER_LONG_LONG 48# define BITS_PER_EMACS_INT BITS_PER_LONG_LONG
48# define pI "ll" 49# define pI "ll"