src/dynamic_api.h
changeset 98 9e3d28932e7b
child 1513 e7f7e42385b5
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/dynamic_api.h	Wed Mar 11 11:52:14 2015 +0100
     1.3 @@ -0,0 +1,12 @@
     1.4 +#pragma once
     1.5 +
     1.6 +#ifdef WIN32
     1.7 +#ifdef _EXPORT_PEP_ENGINE_DLL
     1.8 +#define DYNAMIC_API __declspec(dllexport)
     1.9 +#else
    1.10 +#define DYNAMIC_API __declspec(dllimport)
    1.11 +#endif
    1.12 +#else
    1.13 +#define DYNAMIC_API
    1.14 +#endif
    1.15 +