X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;ds=sidebyside;f=WCudaMSE%2FAPI_Bilat_GL%2FINC%2FdllHelper.h;fp=WCudaMSE%2FAPI_Bilat_GL%2FINC%2FdllHelper.h;h=50a9b5ec523f9ebaffa3597f74959255fe9978b5;hb=8d08c12b29c2a14684f35c023ee39e694bb80d25;hp=0000000000000000000000000000000000000000;hpb=226de81f7e1f1fbf4ac79d0d089e8a05ec7159a0;p=GPU.git diff --git a/WCudaMSE/API_Bilat_GL/INC/dllHelper.h b/WCudaMSE/API_Bilat_GL/INC/dllHelper.h new file mode 100755 index 0000000..50a9b5e --- /dev/null +++ b/WCudaMSE/API_Bilat_GL/INC/dllHelper.h @@ -0,0 +1,21 @@ +#ifndef DLL_HELPER_H +#define DLL_HELPER_H + +// Generic helper definitions for shared library support +#if defined _WIN32 || defined __CYGWIN__ + #define HELPER_DLL_IMPORT __declspec(dllimport) + #define HELPER_DLL_EXPORT __declspec(dllexport) + #define HELPER_DLL_LOCAL +#else + #if __GNUC__ >= 4 + #define HELPER_DLL_IMPORT __attribute__ ((visibility ("default"))) + #define HELPER_DLL_EXPORT __attribute__ ((visibility ("default"))) + #define HELPER_DLL_LOCAL __attribute__ ((visibility ("hidden"))) + #else + #define HELPER_DLL_IMPORT + #define HELPER_DLL_EXPORT + #define HELPER_DLL_LOCAL + #endif +#endif + +#endif /*DLL_HELPER_H*/