diff options
| author | Paul Eggert | 2011-05-05 22:55:01 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-05-05 22:55:01 -0700 |
| commit | 122b0c864338fa0c428b0ff2afbed2454dd2d1c7 (patch) | |
| tree | 38320a01750cc459910177fd1bc0e1a4bd5b3a9b /nt | |
| parent | 4c4b566b11106e0dd4767340e6e7e0fc89cfd589 (diff) | |
| download | emacs-122b0c864338fa0c428b0ff2afbed2454dd2d1c7.tar.gz emacs-122b0c864338fa0c428b0ff2afbed2454dd2d1c7.zip | |
Temporarily disable wider-than-pointer EMACS_INT.
Diffstat (limited to 'nt')
| -rw-r--r-- | nt/ChangeLog | 6 | ||||
| -rw-r--r-- | nt/config.nt | 8 |
2 files changed, 12 insertions, 2 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog index f1f34bb88b5..83d13ce77c6 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | 2011-05-05 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-05-06 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * config.nt: Configure 64-bit integers for older compilers. | 3 | * config.nt: Prepare to configure 64-bit integers for older compilers. |
| 4 | However, temporarily disable this change unless the temporary | ||
| 5 | symbol WIDE_EMACS_INT is defined. | ||
| 4 | (EMACS_INT, BITS_PER_EMACS_INT, pI): Define these if __int64 and | 6 | (EMACS_INT, BITS_PER_EMACS_INT, pI): Define these if __int64 and |
| 5 | "%I64d" work but long long and "%lld" do not. | 7 | "%I64d" work but long long and "%lld" do not. |
| 6 | 8 | ||
diff --git a/nt/config.nt b/nt/config.nt index b595e298996..55a8bccae19 100644 --- a/nt/config.nt +++ b/nt/config.nt | |||
| @@ -480,11 +480,19 @@ extern char *getenv (); | |||
| 480 | 480 | ||
| 481 | #elif _MSC_VER >= 1200 | 481 | #elif _MSC_VER >= 1200 |
| 482 | 482 | ||
| 483 | /* Temporarily disable wider-than-pointer integers until they're tested more. | ||
| 484 | Build with CFLAGS='-DWIDE_EMACS_INT' to try them out. */ | ||
| 485 | /* #undef WIDE_EMACS_INT */ | ||
| 486 | |||
| 487 | # ifdef WIDE_EMACS_INT | ||
| 488 | |||
| 483 | /* Use pre-C99-style 64-bit integers. */ | 489 | /* Use pre-C99-style 64-bit integers. */ |
| 484 | # define EMACS_INT __int64 | 490 | # define EMACS_INT __int64 |
| 485 | # define BITS_PER_EMACS_INT 64 | 491 | # define BITS_PER_EMACS_INT 64 |
| 486 | # define pI "I64" | 492 | # define pI "I64" |
| 487 | 493 | ||
| 494 | # endif | ||
| 495 | |||
| 488 | #endif | 496 | #endif |
| 489 | 497 | ||
| 490 | #ifndef POINTER_TYPE | 498 | #ifndef POINTER_TYPE |