]> code.delx.au - gnu-emacs/blob - src/s/sol2.h
(C_SWITCH_X_SYSTEM, LD_SWITCH_SYSTEM): Put in #if 0.
[gnu-emacs] / src / s / sol2.h
1 #include "usg5-4.h"
2
3 #define POSIX
4
5 #if 0
6 /* Here is how to find X Windows. The -L option tells the linker where
7 to find the libraries at link time, the -R option at run time. */
8 #define C_SWITCH_X_SYSTEM -I/usr/openwin/include
9 #ifndef __GNUC__
10 #define LD_SWITCH_SYSTEM -L/usr/openwin/lib -R/usr/openwin/lib
11 #else /* GCC */
12 #define LD_SWITCH_SYSTEM -L/usr/openwin/lib -Xlinker -R/usr/openwin/lib
13 #endif /* GCC */
14 #endif /* 0 */
15
16 /* Compile in non-ansi fashion to work around bugs in system header files. */
17 #ifndef __GNUC__
18 #define C_SWITCH_SYSTEM -Xs
19 #else /* GCC */
20 #define C_SWITCH_SYSTEM -traditional
21 #endif /* GCC */
22 #define const
23
24 /* Karl Berry writes:
25 If you have the misfortune to be running Solaris 2.1, you may have
26 noticed that the access system call does not check the readonlyness of
27 the filesystem the path refers to. This is a bug, according to
28 access(2), but in the meantime, some of us need the right behavior. */
29 #define SOLARIS_BROKEN_ACCESS