src/dynamic_api.h
author Volker Birk <vb@pep-project.org>
Wed, 29 Apr 2015 14:51:33 +0200
changeset 229 313d152239bf
parent 98 9e3d28932e7b
child 1513 e7f7e42385b5
permissions -rw-r--r--
fixing preprocessor
vb@98
     1
#pragma once
vb@98
     2
vb@98
     3
#ifdef WIN32
vb@98
     4
#ifdef _EXPORT_PEP_ENGINE_DLL
vb@98
     5
#define DYNAMIC_API __declspec(dllexport)
vb@98
     6
#else
vb@98
     7
#define DYNAMIC_API __declspec(dllimport)
vb@98
     8
#endif
vb@98
     9
#else
vb@98
    10
#define DYNAMIC_API
vb@98
    11
#endif
vb@98
    12