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
commit254f294c2e37a22e04bff74fedfdc9b1fcc93b93 (patch)
tree060dbe9a444bcf1c2e1bc7802fc4dfc1717520aa /src/puresize.h
parenta48a36d045feed054f3532c5596449466a60a3cd (diff)
downloademacs-254f294c2e37a22e04bff74fedfdc9b1fcc93b93.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