Mercurial > emacs
annotate src/s/osf5-0.h @ 43217:cafac76a491b
*** empty log message ***
author | Pavel Janík <Pavel@Janik.cz> |
---|---|
date | Sat, 09 Feb 2002 14:04:30 +0000 |
parents | 03cf4a916248 |
children | e10305e7e6a0 71edb04707fd |
rev | line source |
---|---|
29916 | 1 #define OSF5 |
2 #include "osf1.h" | |
29964
9e78a25cbdbd
(C_SWITCH_SYSTEM, WAIT_USE_INT, SYS_SIGLIST_DECLARED)
Dave Love <fx@gnu.org>
parents:
29916
diff
changeset
|
3 |
34430
7a1ddacf0683
Update comment about _XOPEN_SOURCE.
Gerd Moellmann <gerd@gnu.org>
parents:
31947
diff
changeset
|
4 /* It's enough to define _OSF_SOURCE instead of _BSD. */ |
39744
03cf4a916248
(C_SWITCH_SYSTEM) [!__GNUC__]: Add `-nointrinsics'
Gerd Moellmann <gerd@gnu.org>
parents:
34757
diff
changeset
|
5 |
03cf4a916248
(C_SWITCH_SYSTEM) [!__GNUC__]: Add `-nointrinsics'
Gerd Moellmann <gerd@gnu.org>
parents:
34757
diff
changeset
|
6 /* -nointrinsics is required to avoid losing with definitions of POSIX |
03cf4a916248
(C_SWITCH_SYSTEM) [!__GNUC__]: Add `-nointrinsics'
Gerd Moellmann <gerd@gnu.org>
parents:
34757
diff
changeset
|
7 stuff in regex.c, for instance, where regex_t isn't consistent |
03cf4a916248
(C_SWITCH_SYSTEM) [!__GNUC__]: Add `-nointrinsics'
Gerd Moellmann <gerd@gnu.org>
parents:
34757
diff
changeset
|
8 with the system defintion. This may be necessary also on OSF 4 |
03cf4a916248
(C_SWITCH_SYSTEM) [!__GNUC__]: Add `-nointrinsics'
Gerd Moellmann <gerd@gnu.org>
parents:
34757
diff
changeset
|
9 systems with dtk 6.4 installed. */ |
29964
9e78a25cbdbd
(C_SWITCH_SYSTEM, WAIT_USE_INT, SYS_SIGLIST_DECLARED)
Dave Love <fx@gnu.org>
parents:
29916
diff
changeset
|
10 #undef C_SWITCH_SYSTEM |
39744
03cf4a916248
(C_SWITCH_SYSTEM) [!__GNUC__]: Add `-nointrinsics'
Gerd Moellmann <gerd@gnu.org>
parents:
34757
diff
changeset
|
11 #ifdef __GNUC__ |
29964
9e78a25cbdbd
(C_SWITCH_SYSTEM, WAIT_USE_INT, SYS_SIGLIST_DECLARED)
Dave Love <fx@gnu.org>
parents:
29916
diff
changeset
|
12 #define C_SWITCH_SYSTEM -D_OSF_SOURCE |
39744
03cf4a916248
(C_SWITCH_SYSTEM) [!__GNUC__]: Add `-nointrinsics'
Gerd Moellmann <gerd@gnu.org>
parents:
34757
diff
changeset
|
13 #else |
03cf4a916248
(C_SWITCH_SYSTEM) [!__GNUC__]: Add `-nointrinsics'
Gerd Moellmann <gerd@gnu.org>
parents:
34757
diff
changeset
|
14 #define C_SWITCH_SYSTEM -D_OSF_SOURCE -nointrinsics |
03cf4a916248
(C_SWITCH_SYSTEM) [!__GNUC__]: Add `-nointrinsics'
Gerd Moellmann <gerd@gnu.org>
parents:
34757
diff
changeset
|
15 #endif |
34430
7a1ddacf0683
Update comment about _XOPEN_SOURCE.
Gerd Moellmann <gerd@gnu.org>
parents:
31947
diff
changeset
|
16 |
29964
9e78a25cbdbd
(C_SWITCH_SYSTEM, WAIT_USE_INT, SYS_SIGLIST_DECLARED)
Dave Love <fx@gnu.org>
parents:
29916
diff
changeset
|
17 #define WAIT_USE_INT |
9e78a25cbdbd
(C_SWITCH_SYSTEM, WAIT_USE_INT, SYS_SIGLIST_DECLARED)
Dave Love <fx@gnu.org>
parents:
29916
diff
changeset
|
18 #define SYS_SIGLIST_DECLARED |
9e78a25cbdbd
(C_SWITCH_SYSTEM, WAIT_USE_INT, SYS_SIGLIST_DECLARED)
Dave Love <fx@gnu.org>
parents:
29916
diff
changeset
|
19 #define sys_siglist __sys_siglist |
34757 | 20 #ifndef NSIG /* _OSF_SOURCE seems to get us this */ |
29964
9e78a25cbdbd
(C_SWITCH_SYSTEM, WAIT_USE_INT, SYS_SIGLIST_DECLARED)
Dave Love <fx@gnu.org>
parents:
29916
diff
changeset
|
21 #define NSIG __sys_nsig |
34757 | 22 #endif |
29964
9e78a25cbdbd
(C_SWITCH_SYSTEM, WAIT_USE_INT, SYS_SIGLIST_DECLARED)
Dave Love <fx@gnu.org>
parents:
29916
diff
changeset
|
23 |
9e78a25cbdbd
(C_SWITCH_SYSTEM, WAIT_USE_INT, SYS_SIGLIST_DECLARED)
Dave Love <fx@gnu.org>
parents:
29916
diff
changeset
|
24 /* We have missing/inconsistent prototypes on 5.0, at least. */ |
29916 | 25 #define INHIBIT_X11R6_XIM |
31947
44a6d62deb2b
Define REL_ALLOC_MMAP, not REL_ALLOC_MMAP.
Dave Love <fx@gnu.org>
parents:
29964
diff
changeset
|
26 |
44a6d62deb2b
Define REL_ALLOC_MMAP, not REL_ALLOC_MMAP.
Dave Love <fx@gnu.org>
parents:
29964
diff
changeset
|
27 #define USE_MMAP_FOR_BUFFERS 1 |