Add arch taglines
[bpt/emacs.git] / src / s / sol2-5.h
CommitLineData
87d8c45a
KH
1/* Handle Solaris 2.5. */
2
3#include "sol2-4.h"
6b4eb593 4
44248360 5#if 0 /* Klaus Zeitler <kzeitler@lucent.com> says SIGIO still fails. */
5bc1c7d0 6#undef BROKEN_SIGIO
44248360 7#endif
5bc1c7d0 8
517697d9
RS
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. */
1dd59850 12#define LIB_MOTIF -lXm -lgen
517697d9 13
6209024e
RS
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. */
dfcd7ccf
DL
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 */
6209024e 24
1a55ec5a
KH
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
69f5d6fe
DL
30
31/* Probably OK also on earlier versions. */
32#define GC_SETJMP_WORKS 1
33#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
ab5796a9
MB
34
35/* arch-tag: 96d65526-21c9-4547-a797-2bd575c05be7
36 (do not change this comment) */