]> git.ipfire.org Git - thirdparty/squid.git/blame - compat/os/sgi.h
Maintenance: bump astyle to 2.04 and quieten report
[thirdparty/squid.git] / compat / os / sgi.h
CommitLineData
37be9888
AJ
1/*
2 * Copyright (C) 1996-2014 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
f04e1182
AJ
9#ifndef SQUID_OS_SGI_H
10#define SQUID_OS_SGI_H
11
12#if _SQUID_SGI_
13
14/****************************************************************************
15 *--------------------------------------------------------------------------*
16 * DO *NOT* MAKE ANY CHANGES below here unless you know what you're doing...*
17 *--------------------------------------------------------------------------*
18 ****************************************************************************/
19
20#if !defined(_SVR4_SOURCE)
21#define _SVR4_SOURCE /* for tempnam(3) */
22#endif
23
24#if USE_ASYNC_IO
25#define _ABI_SOURCE
26#endif /* USE_ASYNC_IO */
27
b5309de6
AJ
28#if defined(__cplusplus) && !defined(_SQUID_EXTERNNEW_) && !defined(_GNUC_)
29/*
30 * The gcc compiler treats extern inline functions as being extern,
31 * while the SGI MIPSpro compilers treat them as inline. To get equivalent
32 * behavior, remove the inline keyword.
33 */
34#define _SQUID_EXTERNNEW_ extern
35#endif
f04e1182
AJ
36
37#endif /* _SQUID_SGI_ */
38#endif /* SQUID_OS_SGI_H */