aboutsummaryrefslogtreecommitdiffstats
path: root/src/conf_post.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf_post.h')
-rw-r--r--src/conf_post.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/conf_post.h b/src/conf_post.h
index 6ecebf36ab9..ab08cc63bb0 100644
--- a/src/conf_post.h
+++ b/src/conf_post.h
@@ -210,41 +210,8 @@ You lose; /* Emacs for DOS must be compiled with DJGPP */
210 210
211/* DATA_START is needed by vm-limit.c and unexcoff.c. */ 211/* DATA_START is needed by vm-limit.c and unexcoff.c. */
212#define DATA_START (&etext + 1) 212#define DATA_START (&etext + 1)
213
214/* Define one of these for easier conditionals. */
215#ifdef HAVE_X_WINDOWS
216/* We need a little extra space, see ../../lisp/loadup.el and the
217 commentary below, in the non-X branch. The 140KB number was
218 measured on GNU/Linux and on MS-Windows. */
219#define SYSTEM_PURESIZE_EXTRA (-170000+140000)
220#else
221/* We need a little extra space, see ../../lisp/loadup.el.
222 As of 20091024, DOS-specific files use up 62KB of pure space. But
223 overall, we end up wasting 130KB of pure space, because
224 BASE_PURESIZE starts at 1.47MB, while we need only 1.3MB (including
225 non-DOS specific files and load history; the latter is about 55K,
226 but depends on the depth of the top-level Emacs directory in the
227 directory tree). Given the unknown policy of different DPMI
228 hosts regarding loading of untouched pages, I'm not going to risk
229 enlarging Emacs footprint by another 100+ KBytes. */
230#define SYSTEM_PURESIZE_EXTRA (-170000+90000)
231#endif
232#endif /* MSDOS */ 213#endif /* MSDOS */
233 214
234/* macOS / GNUstep need a bit more pure memory. Of the existing knobs,
235 SYSTEM_PURESIZE_EXTRA seems like the least likely to cause problems. */
236#ifdef HAVE_NS
237#if defined NS_IMPL_GNUSTEP
238# define SYSTEM_PURESIZE_EXTRA 30000
239#elif defined DARWIN_OS
240# define SYSTEM_PURESIZE_EXTRA 200000
241#endif
242#endif
243
244#ifdef CYGWIN
245#define SYSTEM_PURESIZE_EXTRA 50000
246#endif
247
248#if defined HAVE_NTGUI && !defined DebPrint 215#if defined HAVE_NTGUI && !defined DebPrint
249# ifdef EMACSDEBUG 216# ifdef EMACSDEBUG
250extern void _DebPrint (const char *fmt, ...); 217extern void _DebPrint (const char *fmt, ...);