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 /libart-features.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 'libart-features.h.cmake')
-rw-r--r-- | libart-features.h.cmake | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/libart-features.h.cmake b/libart-features.h.cmake new file mode 100644 index 0000000..7ac16c9 --- /dev/null +++ b/libart-features.h.cmake @@ -0,0 +1,36 @@ +#ifndef LIBART_FEATURES_H +#define LIBART_FEATURES_H 1 + +#if !defined( _ART_CONFIG_H_ ) +#ifdef LIBART_COMPILATION +#include "art_config.h" +#else +#include <libart_lgpl/art_config.h> +#endif +#endif + +#define LIBART_MAJOR_VERSION (@LIBART_MAJOR_VERSION@) +#define LIBART_MINOR_VERSION (@LIBART_MINOR_VERSION@) +#define LIBART_MICRO_VERSION (@LIBART_MICRO_VERSION@) +#define LIBART_VERSION "@LIBART_VERSION@" + +#ifdef _WIN32 +# ifdef LIBART_COMPILATION +# define LIBART_VAR __declspec(dllexport) +# else +# define LIBART_VAR extern __declspec(dllimport) +# endif +#else +# ifdef LIBART_COMPILATION +# define LIBART_VAR LIBART_EXPORT +# else +# define LIBART_VAR extern +# endif +#endif + +LIBART_VAR const unsigned int libart_major_version, libart_minor_version, libart_micro_version; +LIBART_VAR const char *libart_version; + +LIBART_EXPORT void libart_preinit(void *app, void *modinfo); +LIBART_EXPORT void libart_postinit(void *app, void *modinfo); +#endif |