]> code.delx.au - gnu-emacs/blobdiff - src/mem-limits.h
(add_to_log): Pass 1 byte less to message_dolog.
[gnu-emacs] / src / mem-limits.h
index 333642f0c8208f4bfdf1e3e8072c7ba2d121caf3..dae4cf7fd45807c1d96fd48f3510ebff45bc86d3 100644 (file)
@@ -62,11 +62,7 @@ extern int etext, __data_start; weak_extern (__data_start)
 /* The important properties of this type are that 1) it's a pointer, and
    2) arithmetic on it should work as if the size of the object pointed
    to has a size of 1.  */
-#ifdef __STDC__
-typedef void *POINTER;
-#else
-typedef char *POINTER;
-#endif
+typedef POINTER_TYPE *POINTER;
 
 typedef unsigned long SIZE;
 
@@ -141,8 +137,8 @@ get_lim_data ()
 static void
 get_lim_data ()
 {
-  extern unsigned long data_region_size;
-  lim_data = data_region_size;
+  extern unsigned long reserved_heap_size;
+  lim_data = reserved_heap_size;
 }
 
 #else