sunos.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
3  *
4  * Squid software is distributed under GPLv2+ license and includes
5  * contributions from numerous individuals and organizations.
6  * Please see the COPYING and CONTRIBUTORS files for details.
7  */
8 
9 #ifndef SQUID_COMPAT_OS_SUNOS_H
10 #define SQUID_COMPAT_OS_SUNOS_H
11 
12 #if _SQUID_SUNOS_
13 
14 /****************************************************************************
15  *--------------------------------------------------------------------------*
16  * DO *NOT* MAKE ANY CHANGES below here unless you know what you're doing...*
17  *--------------------------------------------------------------------------*
18  ****************************************************************************/
19 
20 /* O_NONBLOCK requires <fcntl.h> to be included first */
21 #if HAVE_FCNTL_H
22 #include <fcntl.h>
23 #endif
24 
25 /*
26  * We assume O_NONBLOCK is broken, or does not exist, on SunOS.
27  */
28 #define SQUID_NONBLOCK O_NDELAY
29 
30 #endif /* _SQUID_SUNOS_ */
31 #endif /* SQUID_COMPAT_OS_SUNOS_H */
32 

 

Introduction

Documentation

Support

Miscellaneous