]> git.eshelyaron.com Git - emacs.git/commitdiff
* configure.in (BITS_PER_LONG_LONG): New macro.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 29 Apr 2011 07:55:57 +0000 (00:55 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 29 Apr 2011 07:55:57 +0000 (00:55 -0700)
ChangeLog
configure.in

index a561f8efeec7eb365849218e7d63906e39f47e76..31e8c869e5288ff5a530e558d8896b9c6ca230c3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-04-29  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * configure.in (BITS_PER_LONG_LONG): New macro.
+
 2011-04-27  Ben Key  <bkey76@gmail.com>
 
        * configure.in: Fixed a bug that caused configure with
index 68404bf0bcd4914db6f57cfe77807b1f2f921da8..aadb6ebe84ca3b2916f75a8838ade2ffb3659253 100644 (file)
@@ -3518,7 +3518,8 @@ AH_BOTTOM([
 #endif
 
 /* These default definitions are good for almost all machines.
-   The exceptions override them in m/MACHINE.h.  */
+   Any exceptions should override them in m/MACHINE.h.
+   They must be usable in preprocessor conditionals.  */
 
 #ifndef BITS_PER_CHAR
 #define BITS_PER_CHAR 8
@@ -3528,9 +3529,6 @@ AH_BOTTOM([
 #define BITS_PER_SHORT 16
 #endif
 
-/* Note that lisp.h uses this in a preprocessor conditional, so it
-   would not work to use sizeof.  That being so, we do all of them
-   without sizeof, for uniformity's sake.  */
 #ifndef BITS_PER_INT
 #define BITS_PER_INT 32
 #endif
@@ -3543,6 +3541,10 @@ AH_BOTTOM([
 #endif
 #endif
 
+#if !defined BITS_PER_LONG_LONG && HAVE_LONG_LONG_INT
+#define BITS_PER_LONG_LONG 64
+#endif
+
 /* Define if the compiler supports function prototypes.  It may do so but
    not define __STDC__ (e.g. DEC C by default) or may define it as zero.  */
 #undef PROTOTYPES