Add BIND 9.2.4rc7.
[dragonfly.git] / contrib / bind-9.2.4rc7 / lib / lwres / include / lwres / platform.h.in
blob67a0373a676c828448ff3b815c005b5f5605b778
1 /*
2 * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
3 * Copyright (C) 2000, 2001 Internet Software Consortium.
5 * Permission to use, copy, modify, and distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
9 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
10 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
12 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
14 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15 * PERFORMANCE OF THIS SOFTWARE.
18 /* $Id: platform.h.in,v 1.12.2.2 2004/03/09 06:12:37 marka Exp $ */
20 #ifndef LWRES_PLATFORM_H
21 #define LWRES_PLATFORM_H 1
23 /*****
24 ***** Platform-dependent defines.
25 *****/
27 /***
28 *** Network.
29 ***/
32 * Define if this system needs the <netinet/in6.h> header file for IPv6.
34 @LWRES_PLATFORM_NEEDNETINETIN6H@
37 * Define if this system needs the <netinet6/in6.h> header file for IPv6.
39 @LWRES_PLATFORM_NEEDNETINET6IN6H@
42 * If sockaddrs on this system have an sa_len field, LWRES_PLATFORM_HAVESALEN
43 * will be defined.
45 @LWRES_PLATFORM_HAVESALEN@
48 * If this system has the IPv6 structure definitions, LWRES_PLATFORM_HAVEIPV6
49 * will be defined.
51 @LWRES_PLATFORM_HAVEIPV6@
54 * If this system is missing in6addr_any, LWRES_PLATFORM_NEEDIN6ADDRANY will
55 * be defined.
57 @LWRES_PLATFORM_NEEDIN6ADDRANY@
60 * If this system is missing in6addr_loopback,
61 * LWRES_PLATFORM_NEEDIN6ADDRLOOPBACK will be defined.
63 @LWRES_PLATFORM_NEEDIN6ADDRLOOPBACK@
66 * If this system has in_addr6, rather than in6_addr,
67 * LWRES_PLATFORM_HAVEINADDR6 will be defined.
69 @LWRES_PLATFORM_HAVEINADDR6@
72 * Defined if unistd.h does not cause fd_set to be delared.
74 @LWRES_PLATFORM_NEEDSYSSELECTH@
77 * Used to control how extern data is linked; needed for Win32 platforms.
79 @LWRES_PLATFORM_USEDECLSPEC@
81 #ifndef LWRES_PLATFORM_USEDECLSPEC
82 #define LIBLWRES_EXTERNAL_DATA
83 #else
84 #ifdef LIBLWRES_EXPORTS
85 #define LIBLWRES_EXTERNAL_DATA __declspec(dllexport)
86 #else
87 #define LIBLWRES_EXTERNAL_DATA __declspec(dllimport)
88 #endif
89 #endif
91 #endif /* LWRES_PLATFORM_H */