diff options
| author | Paul Eggert | 2011-06-01 23:29:14 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-06-01 23:29:14 -0700 |
| commit | 47de45b793c19b81914434b12476d3e6b5e9342e (patch) | |
| tree | 80d812d91f4fb66a7ec7d5352d4500e1e4eab1ab | |
| parent | 6f9028d2dc58431d00319b4918af325c507b854c (diff) | |
| download | emacs-47de45b793c19b81914434b12476d3e6b5e9342e.tar.gz emacs-47de45b793c19b81914434b12476d3e6b5e9342e.zip | |
* lisp.h (WIDE_EMACS_INT): Now defaults to 1.
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/lisp.h | 9 |
2 files changed, 7 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 0d84500e78d..3f5d9e19c1e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2011-06-02 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-06-02 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * lisp.h (WIDE_EMACS_INT): Now defaults to 1. | ||
| 4 | |||
| 3 | * fileio.c (Fverify_visited_file_modtime): Avoid time overflow | 5 | * fileio.c (Fverify_visited_file_modtime): Avoid time overflow |
| 4 | if b->modtime has its maximal value. | 6 | if b->modtime has its maximal value. |
| 5 | 7 | ||
diff --git a/src/lisp.h b/src/lisp.h index 6ef2c4211f2..7f3f76a8e1e 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" |