1224090Sdougb/*
2224090Sdougb * Copyright (C) 2009  Internet Systems Consortium, Inc. ("ISC")
3224090Sdougb *
4224090Sdougb * Permission to use, copy, modify, and/or distribute this software for any
5224090Sdougb * purpose with or without fee is hereby granted, provided that the above
6224090Sdougb * copyright notice and this permission notice appear in all copies.
7224090Sdougb *
8224090Sdougb * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
9224090Sdougb * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10224090Sdougb * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
11224090Sdougb * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12224090Sdougb * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
13224090Sdougb * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14224090Sdougb * PERFORMANCE OF THIS SOFTWARE.
15224090Sdougb */
16224090Sdougb
17234010Sdougb/* $Id: platform.h.in,v 1.3 2009/09/02 23:48:02 tbox Exp $ */
18224090Sdougb
19224090Sdougb/*! \file */
20224090Sdougb
21224090Sdougb#ifndef IRS_PLATFORM_H
22224090Sdougb#define IRS_PLATFORM_H 1
23224090Sdougb
24224090Sdougb/*****
25224090Sdougb ***** Platform-dependent defines.
26224090Sdougb *****/
27224090Sdougb
28224090Sdougb#ifndef IRS_PLATFORM_USEDECLSPEC
29224090Sdougb#define LIBIRS_EXTERNAL_DATA
30224090Sdougb#else
31224090Sdougb#ifdef LIBIRS_EXPORTS
32224090Sdougb#define LIBIRS_EXTERNAL_DATA __declspec(dllexport)
33224090Sdougb#else
34224090Sdougb#define LIBIRS_EXTERNAL_DATA __declspec(dllimport)
35224090Sdougb#endif
36224090Sdougb#endif
37224090Sdougb
38224090Sdougb/*
39224090Sdougb * Tell Emacs to use C mode on this file.
40224090Sdougb * Local Variables:
41224090Sdougb * mode: c
42224090Sdougb * End:
43224090Sdougb */
44224090Sdougb
45224090Sdougb#endif /* IRS_PLATFORM_H */
46