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