gcc/clang编译环境下c sdk api导出默认可见

This commit is contained in:
xiongziliang 2023-04-02 20:58:52 +08:00
parent 8a9d7fc5bf
commit 744c1427e8

View File

@ -33,7 +33,7 @@
# endif
# endif
#elif !defined(GENERATE_EXPORT)
# define API_EXPORT
# define API_EXPORT __attribute__((visibility("default")))
#endif
#ifdef __cplusplus