Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / API_Bilat_DLL_Tools / INC / dllHelper.h
1 #ifndef DLL_HELPER_H
2 #define DLL_HELPER_H
3
4 // Generic helper definitions for shared library support
5 #if defined _WIN32 || defined __CYGWIN__
6 #define HELPER_DLL_IMPORT __declspec(dllimport)
7 #define HELPER_DLL_EXPORT __declspec(dllexport)
8 #define HELPER_DLL_LOCAL
9 #else
10 #if __GNUC__ >= 4
11 #define HELPER_DLL_IMPORT __attribute__ ((visibility ("default")))
12 #define HELPER_DLL_EXPORT __attribute__ ((visibility ("default")))
13 #define HELPER_DLL_LOCAL __attribute__ ((visibility ("hidden")))
14 #else
15 #define HELPER_DLL_IMPORT
16 #define HELPER_DLL_EXPORT
17 #define HELPER_DLL_LOCAL
18 #endif
19 #endif
20
21 #endif /*DLL_HELPER_H*/