/* simulate `sbrk' with an array in .bss, for `unexec' support for Cygwin;
complete rewrite of xemacs Cygwin `unexec' code
- Copyright (C) 2004-2014 Free Software Foundation, Inc.
+ Copyright (C) 2004-2016 Free Software Foundation, Inc.
This file is part of GNU Emacs.
#include <config.h>
#include <stdio.h>
-
#include "lisp.h"
-
#include <unistd.h>
+#include <stdlib.h> /* for exit */
-#ifdef __x86_64__
#ifdef ENABLE_CHECKING
#define STATIC_HEAP_SIZE (28 * 1024 * 1024)
#else
#define STATIC_HEAP_SIZE (19 * 1024 * 1024)
#endif
-#else /* x86 */
-#ifdef ENABLE_CHECKING
-#define STATIC_HEAP_SIZE (18 * 1024 * 1024)
-#else
-#define STATIC_HEAP_SIZE (13 * 1024 * 1024)
-#endif
-#endif /* x86 */
int debug_sheap = 0;