mirror of
https://github.com/silverqx/TinyORM.git
synced 2026-01-06 02:49:31 -06:00
added TINY_DECL_HIDDEN
- also removed todo task [skip ci]
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user