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