(do_check_ram_size): Don't hardcode the lisp address space size.

This commit is contained in:
Stefan Monnier 2004-01-14 14:24:38 +00:00
parent cf062f6b5f
commit eccab14434

View file

@ -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);