(cvs-enabledp): Ignore errors.
[emacs.git] / src / s / sol2.h
blobbe6edf0aa94ba06bd5eb86d8d2e2df0d92c8fd7a
1 #include "usg5-4.h"
3 #define SOLARIS2
5 /* eggert@twinsun.com said these work in Solaris.
6 Perhaps they work in all kinds of SVR4, but this is more conservative. */
7 #undef BROKEN_TIOCGETC
8 #undef BROKEN_TIOCGWINSZ
10 /* This triggers a conditional in xfaces.c. */
11 #define XOS_NEEDS_TIME_H
13 #define POSIX
15 /* Here is how to find X Windows. LD_SWITCH_X_SITE_AUX gives an -R option
16 says where to find X windows at run time. */
17 #ifndef __GNUC__
18 #define LD_SWITCH_SYSTEM LD_SWITCH_X_SITE_AUX
19 #else /* GCC */
20 /* We use ./prefix-args because we don't know whether LD_SWITCH_X_SITE_AUX
21 has anything in it. It can be empty.
22 This works ok in src. Luckily lib-src does not use LD_SWITCH_SYSTEM. */
23 #define LD_SWITCH_SYSTEM `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX`
24 #endif /* GCC */
26 #undef LIBS_SYSTEM
27 #define LIBS_SYSTEM -lsocket -lnsl -lkstat
29 /* Prefer kstat over kvm in getloadavg.c, kstat doesn't require root.
30 ghazi@caip.rutgers.edu, 7/21/97. */
31 #define HAVE_LIBKSTAT
33 /* eggert thinks all versions of SunPro C allowed this. */
34 #ifndef __GNUC__
35 #define C_DEBUG_SWITCH -g -O
36 #endif
38 /* inoue@ainet.or.jp says Solaris has a bug related to X11R6-style
39 XIM support. */
41 #define INHIBIT_X11R6_XIM
43 /* Must use the system's termcap, if we use any termcap.
44 It does special things. */
46 #ifndef TERMINFO
47 #define LIBS_TERMCAP -ltermcap
48 #endif
50 #define USE_MMAP_FOR_BUFFERS 1