]> git.ipfire.org Git - thirdparty/squid.git/blob - compat/os/sunos.h
SourceFormat Enforcement
[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 /* O_NONBLOCK requires <fcntl.h> to be included first */
13 #if HAVE_FCNTL_H
14 #include <fcntl.h>
15 #endif
16
17 /*
18 * We assume O_NONBLOCK is broken, or does not exist, on SunOS.
19 */
20 #define SQUID_NONBLOCK O_NDELAY
21
22 #endif /* _SQUID_SUNOS_ */
23 #endif /* SQUID_OS_SUNOS_H */