mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-16 22:28:30 +01:00
support building cimgui on osx
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
|
||||
#include "../imgui/imgui.h"
|
||||
|
||||
#if defined _WIN32 || defined __CYGWIN__
|
||||
#define API __declspec(dllexport)
|
||||
#else
|
||||
#define API
|
||||
#endif
|
||||
|
||||
extern "C" API ImGuiIO* ImGui_GetIO()
|
||||
{
|
||||
|
Reference in New Issue
Block a user