25 lines
557 B
C
25 lines
557 B
C
|
#ifndef IMGUI_SFML_EXPORT_H
|
||
|
#define IMGUI_SFML_EXPORT_H
|
||
|
|
||
|
#if IMGUI_SFML_SHARED_LIB
|
||
|
#if _WIN32
|
||
|
#ifdef IMGUI_SFML_EXPORTS
|
||
|
#define IMGUI_SFML_API __declspec(dllexport)
|
||
|
#define IMGUI_API __declspec(dllexport)
|
||
|
#else
|
||
|
#define IMGUI_SFML_API __declspec(dllimport)
|
||
|
#define IMGUI_API __declspec(dllexport)
|
||
|
#endif
|
||
|
#elif __GNUC__ >= 4
|
||
|
#define IMGUI_SFML_API __attribute__((visibility("default")))
|
||
|
#define IMGUI_API __attribute__((visibility("default")))
|
||
|
#else
|
||
|
#define IMGUI_SFML_API
|
||
|
#define IMGUI_API
|
||
|
#endif
|
||
|
#else
|
||
|
#define IMGUI_SFML_API
|
||
|
#define IMGUI_API
|
||
|
#endif
|
||
|
|
||
|
#endif
|