added TINY_DECL_HIDDEN

- also removed todo task

[skip ci]
This commit is contained in:
silverqx
2022-06-08 21:04:41 +02:00
parent 78e750f8f8
commit b9eefd1148

View File

@@ -5,7 +5,6 @@
#include "orm/macros/systemheader.hpp"
TINY_SYSTEM_HEADER
// BUG TINY_DECL_IMPORT should has visibility("hidden") ? silverqx
#if defined(_MSC_VER) || defined(WIN64) || defined(_WIN64) || defined(__WIN64__) \
|| defined(WIN32) || defined(_WIN32) || defined(__WIN32__) \
|| defined(__NT__)
@@ -14,9 +13,14 @@ TINY_SYSTEM_HEADER
#elif __GNUG__ >= 4
# define TINY_DECL_EXPORT __attribute__((visibility("default")))
# define TINY_DECL_IMPORT __attribute__((visibility("default")))
# define TINY_DECL_HIDDEN __attribute__((visibility("hidden")))
#else
# define TINY_DECL_EXPORT
# define TINY_DECL_IMPORT
#endif
#ifndef TINY_DECL_HIDDEN
# define TINY_DECL_HIDDEN
#endif
#endif // ORM_MACROS_EXPORT_COMMON_HPP