]> git.tdb.fi Git - libs/gui.git/blob - source/graphics/mspgui_api.h
Update .gitignore to include build products on Windows
[libs/gui.git] / source / graphics / mspgui_api.h
1 #ifndef MSP_GUI_API_H_
2 #define MSP_GUI_API_H_
3
4 #if defined(_WIN32)
5 #if defined(MSPGUI_BUILD)
6 #define MSPGUI_API __declspec(dllexport)
7 #elif defined(MSPGUI_IMPORT)
8 #define MSPGUI_API __declspec(dllimport)
9 #else
10 #define MSPGUI_API
11 #endif
12 #elif defined(__GNUC__)
13 #define MSPGUI_API __attribute__((visibility("default")))
14 #else
15 #define MSPGUI_API
16 #endif
17
18 #endif