summaryrefslogtreecommitdiff
path: root/src/puresize.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-09-25 14:03:13 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-09-25 14:03:13 -0700
commitb62b53e8e9cdcc6d8392ffa0c9d17cb2b0e534e2 (patch)
treea842d6729d2f975a2e7121c058641df5ffe4c2d1 /src/puresize.h
parent5895d7b92473b639531395df260729998d609653 (diff)
downloademacs-b62b53e8e9cdcc6d8392ffa0c9d17cb2b0e534e2.tar.gz
* puresize.h (PURESIZE_RATIO): Shrink this to 8/6 on 32-bit hosts
configured --with-wide-int.
Diffstat (limited to 'src/puresize.h')
-rw-r--r--src/puresize.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/puresize.h b/src/puresize.h
index c26c496a757..a1b7007805b 100644
--- a/src/puresize.h
+++ b/src/puresize.h
@@ -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