gcc/clang编译环境下c sdk api导出默认可见
This commit is contained in:
parent
8a9d7fc5bf
commit
744c1427e8
|
|
@ -33,7 +33,7 @@
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
#elif !defined(GENERATE_EXPORT)
|
#elif !defined(GENERATE_EXPORT)
|
||||||
# define API_EXPORT
|
# define API_EXPORT __attribute__((visibility("default")))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue