From df378ddc984750f135569c9ce292699d2e2120d6 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 13 May 2019 14:51:06 +0900 Subject: Removed unused files and changed file names to conform to .cmake convention for configuration files. Signed-off-by: Michele Calgaro --- art_config.h.cmake | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 art_config.h.cmake (limited to 'art_config.h.cmake') 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_ */ -- cgit v1.2.3