0
|
1 /* This file is part of XEmacs.
|
|
2
|
|
3 XEmacs is free software; you can redistribute it and/or modify it
|
|
4 under the terms of the GNU General Public License as published by the
|
|
5 Free Software Foundation; either version 2, or (at your option) any
|
|
6 later version.
|
|
7
|
|
8 XEmacs is distributed in the hope that it will be useful, but WITHOUT
|
|
9 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
10 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
11 for more details.
|
|
12
|
|
13 You should have received a copy of the GNU General Public License
|
|
14 along with XEmacs; see the file COPYING. If not, write to
|
|
15 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
16 Boston, MA 02111-1307, USA. */
|
|
17
|
|
18 /* Synched up with: FSF 19.30. Split out of alloc.c. */
|
|
19
|
|
20 #include <config.h>
|
|
21 #include "puresize.h"
|
|
22 #include "lisp.h"
|
|
23
|
171
|
24 /* Moved from puresize.h to here so alloc.c does not get recompiled */
|
|
25
|
183
|
26 /* Current build process on NT does not generate a puresize-adjust.h */
|
|
27 /* file. --marcpa */
|
171
|
28 #ifdef WINDOWSNT
|
|
29 # define PURESIZE_ADJUSTMENT 1000000
|
|
30 #else
|
183
|
31 # include <puresize-adjust.h>
|
171
|
32 #endif
|
|
33 #define PURESIZE ((RAW_PURESIZE) + (PURESIZE_ADJUSTMENT))
|
|
34
|
|
35 long int
|
|
36 get_PURESIZE(void)
|
|
37 {
|
|
38 return PURESIZE;
|
|
39 }
|
|
40
|
0
|
41 Lisp_Object pure[PURESIZE / sizeof (Lisp_Object)]
|
|
42 /* Force linker to put it into data space! */
|
|
43 #ifdef NO_UNION_TYPE
|
|
44 = {0};
|
|
45 #else
|
|
46 /* Need this many braces to convince GCC not to complain */
|
|
47 = {{{0}}};
|
|
48 #endif
|