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