]> git.ipfire.org Git - thirdparty/squid.git/blob - compat/os/linux.h
Merge from trunk
[thirdparty/squid.git] / compat / os / linux.h
1 #ifndef SQUID_CONFIG_H
2 #include "config.h"
3 #endif
4
5 #ifndef SQUID_OS_LINUX_H
6 #define SQUID_OS_LINUX_H
7
8 #ifdef _SQUID_LINUX_
9
10 /****************************************************************************
11 *--------------------------------------------------------------------------*
12 * DO *NOT* MAKE ANY CHANGES below here unless you know what you're doing...*
13 *--------------------------------------------------------------------------*
14 ****************************************************************************/
15
16
17 #if USE_ASYNC_IO
18 #define _SQUID_LINUX_THREADS_
19 #endif
20
21 /*
22 * res_init() is just a macro re-definition of __res_init on Linux (Debian/Ubuntu)
23 */
24 #if !defined(HAVE_RES_INIT) && defined(HAVE___RES_INIT) && !defined(res_init)
25 #define res_init __res_init
26 #define HAVE_RES_INIT HAVE___RES_INIT
27 #endif
28
29
30 #endif /* _SQUID_LINUX_ */
31 #endif /* SQUID_OS_LINUX_H */