(Accessing Documentation): Update example to use
[emacs.git] / src / s / sol2-5.h
blob90163987e6991a1ccf09b2f82003a6ada1c1a5a5
1 /* Handle Solaris 2.5. */
3 #include "sol2-4.h"
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. */
8 #define LIB_MOTIF -lXm -lgen
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. */
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 */
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. */
25 #undef USE_MMAP_FOR_BUFFERS
27 /* Probably OK also on earlier versions. */
28 #define GC_SETJMP_WORKS 1
29 #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
31 /* arch-tag: 96d65526-21c9-4547-a797-2bd575c05be7
32 (do not change this comment) */