mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-10 20:08:31 +01:00
Merge pull request #130 from barrybingo/master
Make names visible when using gcc/clang
This commit is contained in:
6
cimgui.h
6
cimgui.h
@@ -15,7 +15,11 @@
|
||||
#define snprintf sprintf_s
|
||||
#endif
|
||||
#else
|
||||
#define API
|
||||
#ifdef __GNUC__
|
||||
#define API __attribute__((__visibility__("default")))
|
||||
#else
|
||||
#define API
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined __cplusplus
|
||||
|
@@ -12,7 +12,11 @@
|
||||
#define snprintf sprintf_s
|
||||
#endif
|
||||
#else
|
||||
#define API
|
||||
#ifdef __GNUC__
|
||||
#define API __attribute__((__visibility__("default")))
|
||||
#else
|
||||
#define API
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined __cplusplus
|
||||
|
@@ -15,7 +15,11 @@
|
||||
#define snprintf sprintf_s
|
||||
#endif
|
||||
#else
|
||||
#define API
|
||||
#ifdef __GNUC__
|
||||
#define API __attribute__((__visibility__("default")))
|
||||
#else
|
||||
#define API
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined __cplusplus
|
||||
|
Reference in New Issue
Block a user