diff options
author | Michele Calgaro <[email protected]> | 2019-05-13 14:51:06 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2020-10-05 21:41:29 +0900 |
commit | 000a818a2cc613690ee5ed4d47685722fff39e83 (patch) | |
tree | 721334d7f366a03ece1d77e18cd05b779c69298c /art_config.h.cmake | |
parent | fb5d1ca135c6daa5dbbc5ff2e9ca6eb31bd2da28 (diff) | |
download | libart-lgpl-000a818a2cc613690ee5ed4d47685722fff39e83.tar.gz libart-lgpl-000a818a2cc613690ee5ed4d47685722fff39e83.zip |
Removed unused files and changed file names to conform to .cmake convention for configuration files.
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit df378ddc984750f135569c9ce292699d2e2120d6)
Diffstat (limited to 'art_config.h.cmake')
-rw-r--r-- | art_config.h.cmake | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/art_config.h.cmake b/art_config.h.cmake new file mode 100644 index 0000000..cfa4786 --- /dev/null +++ b/art_config.h.cmake @@ -0,0 +1,25 @@ + +#ifndef _ART_CONFIG_H_ +#define _ART_CONFIG_H_ + +#define ART_SIZEOF_CHAR @ART_SIZEOF_CHAR@ +#define ART_SIZEOF_SHORT @ART_SIZEOF_SHORT@ +#define ART_SIZEOF_INT @ART_SIZEOF_INT@ +#define ART_SIZEOF_LONG @ART_SIZEOF_LONG@ + +typedef @ART_U8_TYPE@ art_u8; +typedef @ART_U16_TYPE@ art_u16; +typedef @ART_U32_TYPE@ art_u32; + +#if defined(__KDE_HAVE_GCC_VISIBILITY) || defined(G_HAVE_GCC_VISIBILITY) +#define LIBART_NO_EXPORT __attribute__ ((visibility("hidden"))) +#define LIBART_EXPORT __attribute__ ((visibility("default"))) +#elif defined(_WIN32) +#define LIBART_NO_EXPORT +#define LIBART_EXPORT __declspec(dllexport) +#else +#define LIBART_NO_EXPORT +#define LIBART_EXPORT +#endif + +#endif /* _ART_CONFIG_H_ */ |