Mercurial > emacs
annotate src/s/sol2.h @ 2809:8d00a436bfcc
original log message lost to overeager RCS user -JimB
| author | Jim Blandy <jimb@redhat.com> |
|---|---|
| date | Sat, 15 May 1993 21:38:29 +0000 |
| parents | 1d72336294c6 |
| children | 60f122cfe785 |
| rev | line source |
|---|---|
| 1179 | 1 #include "s-usg5-4.h" |
| 2 | |
| 3 #define POSIX | |
| 4 | |
|
1584
fed9a9ee5156
* s/sol2.h (LD_SWITCH_SYSTEM): Add -R option.
Jim Blandy <jimb@redhat.com>
parents:
1179
diff
changeset
|
5 /* Here is how to find X Windows. The -L option tells the linker where |
|
fed9a9ee5156
* s/sol2.h (LD_SWITCH_SYSTEM): Add -R option.
Jim Blandy <jimb@redhat.com>
parents:
1179
diff
changeset
|
6 to find the libraries at link time, the -R option at run time. */ |
|
1638
e49c2e6349e4
(LD_SWITCH_SYSTEM): Make alternate version for GCC.
Richard M. Stallman <rms@gnu.org>
parents:
1584
diff
changeset
|
7 #define C_SWITCH_X_SYSTEM -I/usr/openwin/include |
|
e49c2e6349e4
(LD_SWITCH_SYSTEM): Make alternate version for GCC.
Richard M. Stallman <rms@gnu.org>
parents:
1584
diff
changeset
|
8 #ifndef __GNUC__ |
|
1584
fed9a9ee5156
* s/sol2.h (LD_SWITCH_SYSTEM): Add -R option.
Jim Blandy <jimb@redhat.com>
parents:
1179
diff
changeset
|
9 #define LD_SWITCH_SYSTEM -L/usr/openwin/lib -R/usr/openwin/lib |
|
1638
e49c2e6349e4
(LD_SWITCH_SYSTEM): Make alternate version for GCC.
Richard M. Stallman <rms@gnu.org>
parents:
1584
diff
changeset
|
10 #else /* GCC */ |
|
e49c2e6349e4
(LD_SWITCH_SYSTEM): Make alternate version for GCC.
Richard M. Stallman <rms@gnu.org>
parents:
1584
diff
changeset
|
11 #define LD_SWITCH_SYSTEM -L/usr/openwin/lib -Xlinker -R/usr/openwin/lib |
|
e49c2e6349e4
(LD_SWITCH_SYSTEM): Make alternate version for GCC.
Richard M. Stallman <rms@gnu.org>
parents:
1584
diff
changeset
|
12 #endif /* GCC */ |
| 1179 | 13 |
| 14 /* Compile in non-ansi fashion to work around bugs in system header files. */ | |
| 15 #ifndef __GNUC__ | |
| 16 #define C_SWITCH_SYSTEM -Xs | |
| 17 #else /* GCC */ | |
| 18 #define C_SWITCH_SYSTEM -traditional | |
| 19 #endif /* GCC */ | |
|
2741
1d72336294c6
* fileio.c (ro_fsys) [SOLARIS_BROKEN_ACCESS]: Check for the
Jim Blandy <jimb@redhat.com>
parents:
1638
diff
changeset
|
20 |
|
1d72336294c6
* fileio.c (ro_fsys) [SOLARIS_BROKEN_ACCESS]: Check for the
Jim Blandy <jimb@redhat.com>
parents:
1638
diff
changeset
|
21 /* Karl Berry writes: |
|
1d72336294c6
* fileio.c (ro_fsys) [SOLARIS_BROKEN_ACCESS]: Check for the
Jim Blandy <jimb@redhat.com>
parents:
1638
diff
changeset
|
22 If you have the misfortune to be running Solaris 2.1, you may have |
|
1d72336294c6
* fileio.c (ro_fsys) [SOLARIS_BROKEN_ACCESS]: Check for the
Jim Blandy <jimb@redhat.com>
parents:
1638
diff
changeset
|
23 noticed that the access system call does not check the readonlyness of |
|
1d72336294c6
* fileio.c (ro_fsys) [SOLARIS_BROKEN_ACCESS]: Check for the
Jim Blandy <jimb@redhat.com>
parents:
1638
diff
changeset
|
24 the filesystem the path refers to. This is a bug, according to |
|
1d72336294c6
* fileio.c (ro_fsys) [SOLARIS_BROKEN_ACCESS]: Check for the
Jim Blandy <jimb@redhat.com>
parents:
1638
diff
changeset
|
25 access(2), but in the meantime, some of us need the right behavior. */ |
|
1d72336294c6
* fileio.c (ro_fsys) [SOLARIS_BROKEN_ACCESS]: Check for the
Jim Blandy <jimb@redhat.com>
parents:
1638
diff
changeset
|
26 #define SOLARIS_BROKEN_ACCESS |
