diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2004-01-14 14:24:38 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2004-01-14 14:24:38 +0000 |
commit | eccab1443473de595b404d0fe05206a33e16f425 (patch) | |
tree | 2799886b126d599e96d1ebed0fd9b93322165e7e /src/macterm.c | |
parent | cf062f6b5fe30ba71d8654b19441a2791e460320 (diff) | |
download | emacs-eccab1443473de595b404d0fe05206a33e16f425.tar.gz emacs-eccab1443473de595b404d0fe05206a33e16f425.tar.bz2 emacs-eccab1443473de595b404d0fe05206a33e16f425.zip |
(do_check_ram_size): Don't hardcode the lisp address space size.
Diffstat (limited to 'src/macterm.c')
-rw-r--r-- | src/macterm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/macterm.c b/src/macterm.c index 29be6659c35..fc65c4dab69 100644 --- a/src/macterm.c +++ b/src/macterm.c @@ -6643,8 +6643,8 @@ do_check_ram_size (void) if (Gestalt (gestaltPhysicalRAMSize, &physical_ram_size) != noErr || Gestalt (gestaltLogicalRAMSize, &logical_ram_size) != noErr - || physical_ram_size > 256 * 1024 * 1024 - || logical_ram_size > 256 * 1024 * 1024) + || physical_ram_size > (1 << VALBITS) + || logical_ram_size > (1 << VALBITS)) { StopAlert (RAM_TOO_LARGE_ALERT_ID, NULL); exit (1); |