Mudbox/dllinterface.h Source File
Go to the documentation of this file.
15 #ifndef __MUDBOX_DLLINTERFACE_H__
16 #define __MUDBOX_DLLINTERFACE_H__
18 #if defined(WIN32) || defined(WIN64)
19 #define MUDBOX_DLLEXPORT __declspec(dllexport)
20 #define MUDBOX_DLLIMPORT __declspec(dllimport)
21 #define MUDBOX_DLLINTERNAL
22 #elif defined(__GNUC__)
23 #define MUDBOX_DLLEXPORT __attribute__ ((visibility("default")))
24 #define MUDBOX_DLLIMPORT __attribute__ ((visibility("default")))
25 #define MUDBOX_DLLINTERNAL __attribute__ ((visibility("hidden")))
27 #define MUDBOX_DLLEXPORT
28 #define MUDBOX_DLLIMPORT
29 #define MUDBOX_DLLINTERNAL
32 #if defined(COMPILING_MUDBOX_DLL)
33 #define MBDLL_DECL MUDBOX_DLLEXPORT
35 #define MBDLL_DECL MUDBOX_DLLIMPORT
42 #define MBDLL_TEMPLATE_DECL
44 #define MBDLL_TEMPLATE_DECL MBDLL_DECL