]> git.ipfire.org Git - thirdparty/squid.git/blob - compat/os/sunos.h
Portability polish: use #if instead of #ifdef or #ifndef
[thirdparty/squid.git] / compat / os / sunos.h
1 #ifndef SQUID_OS_SUNOS_H
2 #define SQUID_OS_SUNOS_H
3
4 #if _SQUID_SUNOS_
5
6 /****************************************************************************
7 *--------------------------------------------------------------------------*
8 * DO *NOT* MAKE ANY CHANGES below here unless you know what you're doing...*
9 *--------------------------------------------------------------------------*
10 ****************************************************************************/
11
12
13 /* O_NONBLOCK requires <fcntl.h> to be included first */
14 #if HAVE_FCNTL_H
15 #include <fcntl.h>
16 #endif
17
18 /*
19 * We assume O_NONBLOCK is broken, or does not exist, on SunOS.
20 */
21 #define SQUID_NONBLOCK O_NDELAY
22
23
24
25 #endif /* _SQUID_SUNOS_ */
26 #endif /* SQUID_OS_SUNOS_H */