1 /* Handle Solaris 2.5. */
5 #if 0 /* Klaus Zeitler <kzeitler@lucent.com> says SIGIO still fails. */
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. */
12 #define LIB_MOTIF -lXm -lgen
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. */
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 */
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. */
29 #undef USE_MMAP_FOR_BUFFERS
31 /* Probably OK also on earlier versions. */
32 #define GC_SETJMP_WORKS 1
33 #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
35 /* arch-tag: 96d65526-21c9-4547-a797-2bd575c05be7
36 (do not change this comment) */