]> git.eshelyaron.com Git - emacs.git/commitdiff
Temporarily disable wider-than-pointer EMACS_INT.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 6 May 2011 05:55:01 +0000 (22:55 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 6 May 2011 05:55:01 +0000 (22:55 -0700)
nt/ChangeLog
nt/config.nt
src/ChangeLog
src/lisp.h

index f1f34bb88b50b64cb0737b7280b8d8416f2ea375..83d13ce77c62452c10205a632cfb21aa4348b634 100644 (file)
@@ -1,6 +1,8 @@
-2011-05-05  Paul Eggert  <eggert@cs.ucla.edu>
+2011-05-06  Paul Eggert  <eggert@cs.ucla.edu>
 
-       * config.nt: Configure 64-bit integers for older compilers.
+       * config.nt: Prepare to configure 64-bit integers for older compilers.
+       However, temporarily disable this change unless the temporary
+       symbol WIDE_EMACS_INT is defined.
        (EMACS_INT, BITS_PER_EMACS_INT, pI): Define these if __int64 and
        "%I64d" work but long long and "%lld" do not.
 
index b595e298996545211e6e4519c11d402921ae6972..55a8bccae1963a89438267b7b28470533cb3f555 100644 (file)
@@ -480,11 +480,19 @@ extern char *getenv ();
 
 #elif _MSC_VER >= 1200
 
+/* Temporarily disable wider-than-pointer integers until they're tested more.
+   Build with CFLAGS='-DWIDE_EMACS_INT' to try them out.  */
+/* #undef WIDE_EMACS_INT */
+
+# ifdef WIDE_EMACS_INT
+
 /* Use pre-C99-style 64-bit integers.  */
 # define EMACS_INT __int64
 # define BITS_PER_EMACS_INT 64
 # define pI "I64"
 
+# endif
+
 #endif
 
 #ifndef POINTER_TYPE
index 755b02631f6cb621b8f1123c69967f91ec692127..80baa5d131ad02273c5a3b3b502c57a8f82c4df5 100644 (file)
@@ -55,6 +55,8 @@
        (EMACS_INT, EMACS_UINT, BITS_PER_EMACS_INT, pI): Define to 64-bit
        on 32-bit hosts that have 64-bit int, so that they can access
        large files.
+       However, temporarily disable this change unless the temporary
+       symbol WIDE_EMACS_INT is defined.
 
        * lread.c, process.c: Do not include <inttypes.h>; lisp.h does it now.
 
index bb3a8cc393caafc4437c731524367d8336cbf9fd..66f5c962be88412876ae40f2aac8535748262275 100644 (file)
@@ -34,9 +34,13 @@ extern void check_cons_list (void);
 #define CHECK_CONS_LIST() ((void) 0)
 #endif
 
+/* Temporarily disable wider-than-pointer integers until they're tested more.
+   Build with CFLAGS='-DWIDE_EMACS_INT' to try them out.  */
+/* #undef WIDE_EMACS_INT */
+
 /* These are default choices for the types to use.  */
 #ifndef EMACS_INT
-# if BITS_PER_LONG < BITS_PER_LONG_LONG
+# if BITS_PER_LONG < BITS_PER_LONG_LONG && defined WIDE_EMACS_INT
 #  define EMACS_INT long long
 #  define BITS_PER_EMACS_INT BITS_PER_LONG_LONG
 #  define pI "ll"