* fileio.c (ro_fsys) [SOLARIS_BROKEN_ACCESS]: Check for the
[bpt/emacs.git] / src / s / sol2.h
CommitLineData
c21d3ee2
RS
1#include "s-usg5-4.h"
2
3#define POSIX
4
edaf4ff5
JB
5/* Here is how to find X Windows. The -L option tells the linker where
6 to find the libraries at link time, the -R option at run time. */
c21d3ee2 7#define C_SWITCH_X_SYSTEM -I/usr/openwin/include
7fe7fd40
RS
8#ifndef __GNUC__
9#define LD_SWITCH_SYSTEM -L/usr/openwin/lib -R/usr/openwin/lib
10#else /* GCC */
11#define LD_SWITCH_SYSTEM -L/usr/openwin/lib -Xlinker -R/usr/openwin/lib
12#endif /* GCC */
c21d3ee2
RS
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 */
a253bab2
JB
20
21/* Karl Berry writes:
22If you have the misfortune to be running Solaris 2.1, you may have
23noticed that the access system call does not check the readonlyness of
24the filesystem the path refers to. This is a bug, according to
25access(2), but in the meantime, some of us need the right behavior. */
26#define SOLARIS_BROKEN_ACCESS