12055
|
1 /* Handle Solaris 2.5. */
|
|
2
|
|
3 #include "sol2-4.h"
|
13788
|
4
|
48151
|
5 #if 0 /* Klaus Zeitler <kzeitler@lucent.com> says SIGIO still fails. */
|
46923
|
6 #undef BROKEN_SIGIO
|
48151
|
7 #endif
|
46923
|
8
|
15540
|
9 /* -lgen is needed for the regex and regcmp functions
|
|
10 which are used by Motif. In the future we can try changing
|
|
11 regex.c to provide them in Emacs, but this is safer for now. */
|
15573
|
12 #define LIB_MOTIF -lXm -lgen
|
15540
|
13
|
20751
|
14 /* This is the only known way to avoid some crashes
|
|
15 that seem to relate to screwed up malloc data
|
|
16 after deleting a frame. */
|
32933
|
17 /* rms: I think the problems using ralloc had to do with system
|
|
18 libraries that called the system malloc even if we linked in the
|
|
19 GNU malloc. I could not see any way to fix the problem except to
|
|
20 have just one malloc and that had to be the system one. */
|
|
21 /* This is not always necessary. Turned off at present for testers to
|
|
22 identify any problems with gmalloc more accurately. */
|
|
23 /* #define SYSTEM_MALLOC */
|
20751
|
24
|
33659
|
25 /* There have problems reported with mmap at least on Solaris 2.6
|
|
26 and 2.7. For simplicity, let's not use mmap for anything >= 2.5.
|
|
27 We can optimize this later. */
|
|
28
|
|
29 #undef USE_MMAP_FOR_BUFFERS
|
49356
|
30
|
|
31 /* Probably OK also on earlier versions. */
|
|
32 #define GC_SETJMP_WORKS 1
|
|
33 #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
|
52401
|
34
|
|
35 /* arch-tag: 96d65526-21c9-4547-a797-2bd575c05be7
|
|
36 (do not change this comment) */
|