diff src/sheap.c @ 280:7df0dd720c89 r21-0b38

Import from CVS: tag r21-0b38
author cvs
date Mon, 13 Aug 2007 10:32:22 +0200
parents 90d73dddcdc4
children 57709be46d1b
line wrap: on
line diff
--- a/src/sheap.c	Mon Aug 13 10:31:30 2007 +0200
+++ b/src/sheap.c	Mon Aug 13 10:32:22 2007 +0200
@@ -48,11 +48,13 @@
 
   if (!static_heap_initialized)
     {
+#ifdef VALMASK
       if (((unsigned long) static_heap_base & ~VALMASK) != 0)
 	{
 	  printf ("error: The heap was allocated in upper memory.\n");
 	  exit (-1);
 	}
+#endif
       static_heap_base=(char*)ALIGN_ALLOC(static_heap_buffer);
       static_heap_ptr=static_heap_base;
       static_heap_size=STATIC_HEAP_SIZE -