Commit | Line | Data |
---|---|---|
87d8c45a KH |
1 | /* Handle Solaris 2.5. */ |
2 | ||
3 | #include "sol2-4.h" | |
6b4eb593 | 4 | |
517697d9 RS |
5 | /* -lgen is needed for the regex and regcmp functions |
6 | which are used by Motif. In the future we can try changing | |
7 | regex.c to provide them in Emacs, but this is safer for now. */ | |
1dd59850 | 8 | #define LIB_MOTIF -lXm -lgen |
517697d9 | 9 | |
6209024e RS |
10 | /* This is the only known way to avoid some crashes |
11 | that seem to relate to screwed up malloc data | |
12 | after deleting a frame. */ | |
dfcd7ccf DL |
13 | /* rms: I think the problems using ralloc had to do with system |
14 | libraries that called the system malloc even if we linked in the | |
15 | GNU malloc. I could not see any way to fix the problem except to | |
16 | have just one malloc and that had to be the system one. */ | |
17 | /* This is not always necessary. Turned off at present for testers to | |
18 | identify any problems with gmalloc more accurately. */ | |
19 | /* #define SYSTEM_MALLOC */ | |
6209024e | 20 | |
1a55ec5a KH |
21 | /* There have problems reported with mmap at least on Solaris 2.6 |
22 | and 2.7. For simplicity, let's not use mmap for anything >= 2.5. | |
23 | We can optimize this later. */ | |
24 | ||
25 | #undef USE_MMAP_FOR_BUFFERS | |
69f5d6fe DL |
26 | |
27 | /* Probably OK also on earlier versions. */ | |
28 | #define GC_SETJMP_WORKS 1 | |
29 | #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS | |
ab5796a9 MB |
30 | |
31 | /* arch-tag: 96d65526-21c9-4547-a797-2bd575c05be7 | |
32 | (do not change this comment) */ |