Mercurial > emacs
annotate src/s/sol2.h @ 21737:d0b03ce6dcf5
(fstat, utime): New functions; these are provided in
conjunction with stat to make handling of file timestamps
consistent.
(convert_from_time_t): Fix calculation of low-order bits.
(sys_unlink): Allow read-only files to be unlinked as on Unix.
author | Geoff Voelker <voelker@cs.washington.edu> |
---|---|
date | Thu, 23 Apr 1998 23:41:12 +0000 |
parents | 6d543fd6a50b |
children | 566fd2a966aa |
rev | line source |
---|---|
2815
60f122cfe785
* process.c (wait_reading_process_input): If we're running
Jim Blandy <jimb@redhat.com>
parents:
2741
diff
changeset
|
1 #include "usg5-4.h" |
1179 | 2 |
7872 | 3 #define SOLARIS2 |
4 | |
4189
14c8cd7926a0
(BROKEN_TIOCGETC, BROKEN_TIOCGWINSZ): Add #undefs.
Richard M. Stallman <rms@gnu.org>
parents:
3435
diff
changeset
|
5 /* eggert@twinsun.com said these work in Solaris. |
14c8cd7926a0
(BROKEN_TIOCGETC, BROKEN_TIOCGWINSZ): Add #undefs.
Richard M. Stallman <rms@gnu.org>
parents:
3435
diff
changeset
|
6 Perhaps they work in all kinds of SVR4, but this is more conservative. */ |
14c8cd7926a0
(BROKEN_TIOCGETC, BROKEN_TIOCGWINSZ): Add #undefs.
Richard M. Stallman <rms@gnu.org>
parents:
3435
diff
changeset
|
7 #undef BROKEN_TIOCGETC |
14c8cd7926a0
(BROKEN_TIOCGETC, BROKEN_TIOCGWINSZ): Add #undefs.
Richard M. Stallman <rms@gnu.org>
parents:
3435
diff
changeset
|
8 #undef BROKEN_TIOCGWINSZ |
14c8cd7926a0
(BROKEN_TIOCGETC, BROKEN_TIOCGWINSZ): Add #undefs.
Richard M. Stallman <rms@gnu.org>
parents:
3435
diff
changeset
|
9 |
3435
7930bf123cb7
(XOS_NEEDS_TIME_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
3413
diff
changeset
|
10 /* This triggers a conditional in xfaces.c. */ |
7930bf123cb7
(XOS_NEEDS_TIME_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
3413
diff
changeset
|
11 #define XOS_NEEDS_TIME_H |
7930bf123cb7
(XOS_NEEDS_TIME_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
3413
diff
changeset
|
12 |
1179 | 13 #define POSIX |
14 | |
6103 | 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. */ | |
1638
e49c2e6349e4
(LD_SWITCH_SYSTEM): Make alternate version for GCC.
Richard M. Stallman <rms@gnu.org>
parents:
1584
diff
changeset
|
17 #ifndef __GNUC__ |
5596
191c4af115dc
(LD_SWITCH_SYSTEM): Use LD_SWITCH_X_SITE_AUX.
Richard M. Stallman <rms@gnu.org>
parents:
4189
diff
changeset
|
18 #define LD_SWITCH_SYSTEM LD_SWITCH_X_SITE_AUX |
1638
e49c2e6349e4
(LD_SWITCH_SYSTEM): Make alternate version for GCC.
Richard M. Stallman <rms@gnu.org>
parents:
1584
diff
changeset
|
19 #else /* GCC */ |
7356
55588e31b258
(LD_SWITCH_SYSTEM): Use ./prefix-args, not -Xlinker directly.
Richard M. Stallman <rms@gnu.org>
parents:
6103
diff
changeset
|
20 /* We use ./prefix-args because we don't know whether LD_SWITCH_X_SITE_AUX |
55588e31b258
(LD_SWITCH_SYSTEM): Use ./prefix-args, not -Xlinker directly.
Richard M. Stallman <rms@gnu.org>
parents:
6103
diff
changeset
|
21 has anything in it. It can be empty. |
55588e31b258
(LD_SWITCH_SYSTEM): Use ./prefix-args, not -Xlinker directly.
Richard M. Stallman <rms@gnu.org>
parents:
6103
diff
changeset
|
22 This works ok in src. Luckily lib-src does not use LD_SWITCH_SYSTEM. */ |
55588e31b258
(LD_SWITCH_SYSTEM): Use ./prefix-args, not -Xlinker directly.
Richard M. Stallman <rms@gnu.org>
parents:
6103
diff
changeset
|
23 #define LD_SWITCH_SYSTEM `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX` |
1638
e49c2e6349e4
(LD_SWITCH_SYSTEM): Make alternate version for GCC.
Richard M. Stallman <rms@gnu.org>
parents:
1584
diff
changeset
|
24 #endif /* GCC */ |
1179 | 25 |
15300 | 26 #undef LIBS_SYSTEM |
18905
6d543fd6a50b
(LIBS_SYSTEM): Undo previous change.
Richard M. Stallman <rms@gnu.org>
parents:
18674
diff
changeset
|
27 #define LIBS_SYSTEM -lsocket -lnsl -lkstat |
8886 | 28 #define HAVE_VFORK |
18905
6d543fd6a50b
(LIBS_SYSTEM): Undo previous change.
Richard M. Stallman <rms@gnu.org>
parents:
18674
diff
changeset
|
29 |
6d543fd6a50b
(LIBS_SYSTEM): Undo previous change.
Richard M. Stallman <rms@gnu.org>
parents:
18674
diff
changeset
|
30 /* Prefer kstat over kvm in getloadavg.c, kstat doesn't require root. |
6d543fd6a50b
(LIBS_SYSTEM): Undo previous change.
Richard M. Stallman <rms@gnu.org>
parents:
18674
diff
changeset
|
31 ghazi@caip.rutgers.edu, 7/21/97. */ |
6d543fd6a50b
(LIBS_SYSTEM): Undo previous change.
Richard M. Stallman <rms@gnu.org>
parents:
18674
diff
changeset
|
32 #define HAVE_LIBKSTAT |