comparison src/ralloc.c @ 274:ca9a9ec9c1c1 r21-0b35

Import from CVS: tag r21-0b35
author cvs
date Mon, 13 Aug 2007 10:29:42 +0200
parents c5d627a313b1
children 341dac730539
comparison
equal deleted inserted replaced
273:411aac7253ef 274:ca9a9ec9c1c1
36 #endif 36 #endif
37 37
38 #ifdef emacs 38 #ifdef emacs
39 39
40 #include "lisp.h" 40 #include "lisp.h"
41 #include <malloc.h>
42 41
43 /* The important properties of this type are that 1) it's a pointer, and 42 /* The important properties of this type are that 1) it's a pointer, and
44 2) arithmetic on it should work as if the size of the object pointed 43 2) arithmetic on it should work as if the size of the object pointed
45 to has a size of 1. */ 44 to has a size of 1. */
46 #if 0 /* Arithmetic on void* is a GCC extension. */ 45 #if 0 /* Arithmetic on void* is a GCC extension. */
56 55
57 typedef unsigned long SIZE; 56 typedef unsigned long SIZE;
58 57
59 #ifdef DOUG_LEA_MALLOC 58 #ifdef DOUG_LEA_MALLOC
60 #define M_TOP_PAD -2 59 #define M_TOP_PAD -2
60 #include <malloc.h>
61 #endif 61 #endif
62 62
63 #include "getpagesize.h" 63 #include "getpagesize.h"
64 64
65 #include <string.h> 65 #include <string.h>