Mercurial > emacs
diff src/ralloc.c @ 3109:cd1bbe721cb5
(POINTER): Always use char *.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 26 May 1993 03:49:40 +0000 |
parents | e94a593c3952 |
children | 76c8b5e00948 |
line wrap: on
line diff
--- a/src/ralloc.c Wed May 26 03:16:57 1993 +0000 +++ b/src/ralloc.c Wed May 26 03:49:40 1993 +0000 @@ -33,6 +33,7 @@ /* 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. */ +#if 0 /* Arithmetic on void* is a GCC extension. */ #ifdef __STDC__ typedef void *POINTER; #else @@ -44,6 +45,10 @@ typedef char *POINTER; #endif +#endif /* 0 */ + +/* Unconditionally use char * for this. */ +typedef char *POINTER; typedef unsigned long SIZE;