2
* Copyright (C) 2001 Internet Software Consortium.
4
* Permission to use, copy, modify, and distribute this software for any
5
* purpose with or without fee is hereby granted, provided that the above
6
* copyright notice and this permission notice appear in all copies.
8
* THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
9
* DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
10
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
11
* INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
12
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
13
* FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
14
* NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
15
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18
/* $Id: platform.h,v 1.7 2001/11/19 22:32:04 gson Exp $ */
20
#ifndef ISC_PLATFORM_H
21
#define ISC_PLATFORM_H 1
24
***** Platform-dependent defines.
27
#define ISC_PLATFORM_USETHREADS
34
* This should not be defined yet until we can support IPV6
35
* on Windows Platforms.
37
#define ISC_PLATFORM_HAVEIPV6
39
#define ISC_PLATFORM_NEEDPORTT
41
#define ISC_PLATFORM_NEEDNTOP
42
#define ISC_PLATFORM_NEEDPTON
43
#define ISC_PLATFORM_NEEDATON
45
#define ISC_PLATFORM_QUADFORMAT "I64"
47
#define ISC_PLATFORM_NEEDSTRSEP
50
* Used to control how extern data is linked; needed for Win32 platforms.
52
#define ISC_PLATFORM_USEDECLSPEC 1
55
* Define this here for now as winsock2.h defines h_errno
56
* and we don't want to redeclare it.
58
#define ISC_PLATFORM_NONSTDHERRNO
60
* Set up a macro for importing and exporting from the DLL
63
#define LIBISC_EXTERNAL_DATA
66
#define LIBISC_EXTERNAL_DATA __declspec(dllexport)
68
#define LIBISC_EXTERNAL_DATA __declspec(dllimport)
71
#ifdef LIBISCCFG_EXPORTS
72
#define LIBISCCFG_EXTERNAL_DATA __declspec(dllexport)
74
#define LIBISCCFG_EXTERNAL_DATA __declspec(dllimport)
77
#ifdef LIBISCCC_EXPORTS
78
#define LIBISCCC_EXTERNAL_DATA __declspec(dllexport)
80
#define LIBISCCC_EXTERNAL_DATA __declspec(dllimport)
84
#define LIBDNS_EXTERNAL_DATA __declspec(dllexport)
86
#define LIBDNS_EXTERNAL_DATA __declspec(dllimport)
89
#ifdef LIBBIND9_EXPORTS
90
#define LIBBIND9_EXTERNAL_DATA __declspec(dllexport)
92
#define LIBBIND9_EXTERNAL_DATA __declspec(dllimport)
97
#endif /* ISC_PLATFORM_H */