summaryrefslogtreecommitdiff
path: root/src/puresize.h
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1992-01-13 21:48:03 +0000
committerJim Blandy <jimb@redhat.com>1992-01-13 21:48:03 +0000
commitd427b66a664c0e1ffc818dfa5b87b45b4857d2ae (patch)
treea3255be5cf521ab9c44b9fdfd06a0466274be421 /src/puresize.h
parentb2c9579f172da05112f29b664de6d8da98c1e813 (diff)
downloademacs-d427b66a664c0e1ffc818dfa5b87b45b4857d2ae.tar.gz
entered into RCS
Diffstat (limited to 'src/puresize.h')
-rw-r--r--src/puresize.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/puresize.h b/src/puresize.h
index 4934ba5f5bc..9473d3df5e7 100644
--- a/src/puresize.h
+++ b/src/puresize.h
@@ -21,9 +21,19 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
At one point, this was defined in config.h, meaning that changing
PURESIZE would make Make recompile all of Emacs. But only a few
- files actually use PURESIZE, so we split it out to its own .h file. */
+ files actually use PURESIZE, so we split it out to its own .h file.
+ Make sure to include this file after config.h, since that tells us
+ whether we are running X windows, which tells us how much pure
+ storage to allocate. */
+
+#ifndef PURESIZE
+#ifdef HAVE_X_WINDOWS
#define PURESIZE 200000
+#else
+#define PURESIZE 196000
+#endif
+#endif
#ifdef VIRT_ADDR_VARIES