aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2004-01-14 14:24:38 +0000
committerStefan Monnier2004-01-14 14:24:38 +0000
commiteccab1443473de595b404d0fe05206a33e16f425 (patch)
tree2799886b126d599e96d1ebed0fd9b93322165e7e /src
parentcf062f6b5fe30ba71d8654b19441a2791e460320 (diff)
downloademacs-eccab1443473de595b404d0fe05206a33e16f425.tar.gz
emacs-eccab1443473de595b404d0fe05206a33e16f425.zip
(do_check_ram_size): Don't hardcode the lisp address space size.
Diffstat (limited to 'src')
-rw-r--r--src/macterm.c4
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)
6643 6643
6644 if (Gestalt (gestaltPhysicalRAMSize, &physical_ram_size) != noErr 6644 if (Gestalt (gestaltPhysicalRAMSize, &physical_ram_size) != noErr
6645 || Gestalt (gestaltLogicalRAMSize, &logical_ram_size) != noErr 6645 || Gestalt (gestaltLogicalRAMSize, &logical_ram_size) != noErr
6646 || physical_ram_size > 256 * 1024 * 1024 6646 || physical_ram_size > (1 << VALBITS)
6647 || logical_ram_size > 256 * 1024 * 1024) 6647 || logical_ram_size > (1 << VALBITS))
6648 { 6648 {
6649 StopAlert (RAM_TOO_LARGE_ALERT_ID, NULL); 6649 StopAlert (RAM_TOO_LARGE_ALERT_ID, NULL);
6650 exit (1); 6650 exit (1);