aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mem-limits.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mem-limits.h b/src/mem-limits.h
index 1028d7ff5ad..4a8771cf42e 100644
--- a/src/mem-limits.h
+++ b/src/mem-limits.h
@@ -79,12 +79,18 @@ extern POINTER start_of_data ();
79#define EXCEEDS_LISP_PTR(ptr) ((EMACS_UINT) (ptr) >> VALBITS) 79#define EXCEEDS_LISP_PTR(ptr) ((EMACS_UINT) (ptr) >> VALBITS)
80#endif 80#endif
81 81
82#ifdef DATA_START
83#define start_of_data() ((char *)DATA_START)
84#endif
85
82#ifdef BSD_SYSTEM 86#ifdef BSD_SYSTEM
83#ifndef DATA_SEG_BITS 87#ifndef DATA_SEG_BITS
88#ifndef DATA_START
84extern char etext; 89extern char etext;
85#define start_of_data() &etext 90#define start_of_data() &etext
86#endif 91#endif
87#endif 92#endif
93#endif
88 94
89#else /* not emacs */ 95#else /* not emacs */
90extern char etext; 96extern char etext;