]> git.ipfire.org Git - thirdparty/squid.git/blob - compat/os/aix.h
de43e97f6295859a208bc3ba9a4cc7cfb164048b
[thirdparty/squid.git] / compat / os / aix.h
1 /*
2 * Copyright (C) 1996-2016 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_OS_AIX_H
10 #define SQUID_OS_AIX_H
11
12 #if _SQUID_AIX_
13
14 /****************************************************************************
15 *--------------------------------------------------------------------------*
16 * DO *NOT* MAKE ANY CHANGES below here unless you know what you're doing...*
17 *--------------------------------------------------------------------------*
18 ****************************************************************************/
19
20 /*
21 * Syslog facility on AIX requires some portability wrappers
22 */
23 #if HAVE_SYSLOG_H
24 #define _XOPEN_EXTENDED_SOURCE
25 #define _XOPEN_SOURCE_EXTENDED 1
26 #endif
27
28 /* AIX 6.1 does not define recvmsg() flag MSG_DONTWAIT */
29 #if !defined(MSG_DONTWAIT)
30 #define MSG_DONTWAIT 0
31 #endif
32
33 #endif /* _SQUID_AIX_ */
34 #endif /* SQUID_OS_AIX_H */
35