]>
git.ipfire.org Git - thirdparty/squid.git/blob - compat/os/next.h
7fd8240d8f903e39862aa7a40b94f59e2612607c
1 #ifndef SQUID_OS_NEXT_H
2 #define SQUID_OS_NEXT_H
6 /****************************************************************************
7 *--------------------------------------------------------------------------*
8 * DO *NOT* MAKE ANY CHANGES below here unless you know what you're doing...*
9 *--------------------------------------------------------------------------*
10 ****************************************************************************/
14 * Don't allow inclusion of malloc.h
16 #if defined(HAVE_MALLOC_H)
21 * S_ISDIR() may not be defined on Next
27 #define S_ISDIR(mode) (((mode) & (_S_IFMT)) == (_S_IFDIR))
31 * WAS: lots of special wrappers labeled only 'protect NEXTSTEP'
32 * I'm assuming its an incomplete definition problem on that OS
33 * or a missing safety wrapper by the looks of the original hack.
35 * Anyway, this file is included before all general non-type headers.
36 * doing the include here for Next and undefining HAVE_NETDB_H will
37 * save us from including it again in general.
43 #define HAVE_NETDB_H 0
46 #define S_ISDIR(mode) (((mode) & (_S_IFMT)) == (_S_IFDIR))
49 #endif /* _SQUID_NEXT_ */
50 #endif /* SQUID_OS_NEXT_H */