JackEditor/gui/imgui-sfml/imgui-SFML_export.h

25 lines
557 B
C
Raw Normal View History

2024-03-28 16:46:43 +08:00
#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