mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-10 03:48:30 +01:00
cimgui_template.h: drop sprintf_s on windows #185
This commit is contained in:
3
cimgui.h
3
cimgui.h
@@ -12,9 +12,6 @@
|
|||||||
#else
|
#else
|
||||||
#define API __declspec(dllexport)
|
#define API __declspec(dllexport)
|
||||||
#endif
|
#endif
|
||||||
#ifndef __GNUC__
|
|
||||||
#define snprintf sprintf_s
|
|
||||||
#endif
|
|
||||||
#else
|
#else
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
#define API __attribute__((__visibility__("default")))
|
#define API __attribute__((__visibility__("default")))
|
||||||
|
@@ -8,9 +8,6 @@
|
|||||||
#else
|
#else
|
||||||
#define API __declspec(dllexport)
|
#define API __declspec(dllexport)
|
||||||
#endif
|
#endif
|
||||||
#ifndef __GNUC__
|
|
||||||
#define snprintf sprintf_s
|
|
||||||
#endif
|
|
||||||
#else
|
#else
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
#define API __attribute__((__visibility__("default")))
|
#define API __attribute__((__visibility__("default")))
|
||||||
|
Reference in New Issue
Block a user