]> code.delx.au - gnu-emacs/blobdiff - src/puresize.h
Merge from trunk.
[gnu-emacs] / src / puresize.h
index 4290c30c68d7c53cbd9d3bc7960b5cde7abc2b52..889d836af78931cee65de7d1afea649034ce8bdf 100644 (file)
@@ -46,8 +46,12 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 /* Increase BASE_PURESIZE by a ratio depending on the machine's word size.  */
 #ifndef PURESIZE_RATIO
 #if BITS_PER_EMACS_INT > 32
+#if PTRDIFF_MAX >> 31 != 0
 #define PURESIZE_RATIO 10/6    /* Don't surround with `()'. */
 #else
+#define PURESIZE_RATIO 8/6     /* Don't surround with `()'. */
+#endif
+#else
 #define PURESIZE_RATIO 1
 #endif
 #endif