Mercurial > emacs
changeset 46652:243b781b4ba5
(start_of_data): If DATA_START is defined, prefer
its value over other approaches.
author | Ken Raeburn <raeburn@raeburn.org> |
---|---|
date | Wed, 24 Jul 2002 02:07:21 +0000 |
parents | 9f027dd3047f |
children | 8ba889cb6430 |
files | src/mem-limits.h |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/mem-limits.h Wed Jul 24 02:07:15 2002 +0000 +++ b/src/mem-limits.h Wed Jul 24 02:07:21 2002 +0000 @@ -79,12 +79,18 @@ #define EXCEEDS_LISP_PTR(ptr) ((EMACS_UINT) (ptr) >> VALBITS) #endif +#ifdef DATA_START +#define start_of_data() ((char *)DATA_START) +#endif + #ifdef BSD_SYSTEM #ifndef DATA_SEG_BITS +#ifndef DATA_START extern char etext; #define start_of_data() &etext #endif #endif +#endif #else /* not emacs */ extern char etext;