# HG changeset patch # User Richard M. Stallman # Date 719561563 0 # Node ID 107c9b227e7fac719b39d7a0ed318792f2570b86 # Parent a321ed0fa3aeb400195011bc11f5aed82a69b40e [emacs]: Define POINTER and SIZE. [!emacs]: Delete definition of EXCEEDS_LISP_PTR. diff -r a321ed0fa3ae -r 107c9b227e7f src/ralloc.c --- a/src/ralloc.c Tue Oct 20 06:12:19 1992 +0000 +++ b/src/ralloc.c Tue Oct 20 06:12:43 1992 +0000 @@ -30,6 +30,17 @@ #undef NULL +/* 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 unsigned long SIZE; + /* Declared in dispnew.c, this version doesn't screw up if regions overlap. */ extern void safe_bcopy (); @@ -43,8 +54,6 @@ typedef size_t SIZE; typedef void *POINTER; -#define EXCEEDS_LISP_PTR(x) 0 - #include #include #include