cmpi
Linkage.h
Go to the documentation of this file.
1/*
2 *
3 * $Id: Linkage.h,v 1.3 2008/07/09 19:36:59 tyreld Exp $
4 *
5 * (C) Copyright IBM Corp. 2003, 2005, 2008
6 *
7 * THIS FILE IS PROVIDED UNDER THE TERMS OF THE ECLIPSE PUBLIC LICENSE
8 * ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE
9 * CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT.
10 *
11 * You can obtain a current copy of the Eclipse Public License from
12 * http://www.opensource.org/licenses/eclipse-1.0.txt
13 *
14 * Author: Adrian Schuur <schuur@de.ibm.com>
15 * Contributors: Viktor Mihajlovski <mihajlov@de.ibm.com>
16 *
17 * Description: CMPI C++ Wrapper Linkage Helper
18 *
19 */
20
21#ifdef CMPI_PLATFORM_WIN32_IX86_MSVC
22#ifdef CMPI_WRAPPER_IMPL
23#define CMPI_PROVIDER_LINKAGE __declspec(dllexport)
24#else
25#define CMPI_PROVIDER_LINKAGE __declspec(dllimport)
26#endif
27#else
28#define CMPI_PROVIDER_LINKAGE
29#endif
30