summaryrefslogtreecommitdiff
path: root/src/mem-limits.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem-limits.h')
-rw-r--r--src/mem-limits.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mem-limits.h b/src/mem-limits.h
index fe310542f2c..172f5dd1df1 100644
--- a/src/mem-limits.h
+++ b/src/mem-limits.h
@@ -44,14 +44,17 @@ typedef unsigned long SIZE;
#ifdef emacs
extern POINTER start_of_data ();
+#define EXCEEDS_ELISP_PTR(ptr) ((unsigned int) (ptr) >> VALBITS)
#ifdef BSD
#ifndef DATA_SEG_BITS
+extern char etext;
#define start_of_data() &etext
#endif
#endif
#else /* Not emacs */
+extern char etext;
#define start_of_data() &etext
#endif /* Not emacs */