plastimatch
Loading...
Searching...
No Matches
plmbase_config.h
Go to the documentation of this file.
1/* -----------------------------------------------------------------------
2 See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
3 ----------------------------------------------------------------------- */
4#ifndef __plmbase_config_h__
5#define __plmbase_config_h__
6
7#include "plm_config.h"
8
9#if ((defined(_WIN32) || defined(WIN32)) && (defined (PLM_BUILD_SHARED_LIBS)))
10# ifdef plmbase_EXPORTS
11# define PLMBASE_C_API EXTERNC __declspec(dllexport)
12# define PLMBASE_API __declspec(dllexport)
13# else
14# define PLMBASE_C_API EXTERNC __declspec(dllimport)
15# define PLMBASE_API __declspec(dllimport)
16# endif
17#else
18# define PLMBASE_C_API EXTERNC
19# define PLMBASE_API
20#endif
21#ifdef SWIG
22#define PLMBASE_API
23#endif
24
25#endif