blob: bfa4dab721befdf9ea6f702b69ae6b3e6c4eecb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#include "s-sunos4-0.h"
/* 4.1.1 makes these system calls interruptable. */
#define read sys_read
#define write sys_write
#define open sys_open
#define close sys_close
#define INTERRUPTABLE_OPEN
#define INTERRUPTABLE_CLOSE
#define INTERRUPTABLE_IO
#define HAVE_TZSET
/* Cause the compilation of oldxmenu to use the right -I option. */
#define OLDXMENU_OPTIONS CFLAGS=C_SWITCH_SYSTEM
/* The following is needed to work with the "Open Windows"
version of X windows. But it should do no harm if you don't have that. */
#if 1 /* The -I and -L options should be harmless otherwise. */
#undef LD_SWITCH_SYSTEM
#if __GNUC__ > 1
#define LD_SWITCH_SYSTEM -e __start -static -L/usr/openwin/lib
#else
#define LD_SWITCH_SYSTEM -e __start -Bstatic -L/usr/openwin/lib
#endif
#define C_SWITCH_SYSTEM -I/usr/openwin/include
#endif
/* Enable a fix in malloc. */
#define SUNOS_LOCALTIME_BUG
|