diff options
author | Giovanni Campagna <gcampagna@src.gnome.org> | 2017-08-22 17:40:43 +0200 |
---|---|---|
committer | Giovanni Campagna <gcampagna@src.gnome.org> | 2017-11-26 16:59:24 -0800 |
commit | a5d17340753eff516ea1a1e3304643c7b5a2c3fe (patch) | |
tree | 643f3680566ed565ffa09e6d13f3521d8c5f7ed4 /libgweather/gweather-version.h.in | |
parent | a1f4c720b9c0a932a4e42280ca67222593cdfa76 (diff) | |
download | libgweather-a5d17340753eff516ea1a1e3304643c7b5a2c3fe.tar.gz |
Add support for the meson build system
Diffstat (limited to 'libgweather/gweather-version.h.in')
-rw-r--r-- | libgweather/gweather-version.h.in | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/libgweather/gweather-version.h.in b/libgweather/gweather-version.h.in index 3554d49..51c9360 100644 --- a/libgweather/gweather-version.h.in +++ b/libgweather/gweather-version.h.in @@ -28,6 +28,10 @@ #error "gweather-version.h must not be included individually, include gweather.h instead" #endif +#ifndef GWEATHER_EXTERN +#define GWEATHER_EXTERN extern +#endif + /** * SECTION:gweatherversion * @short_description: libgweather version checking @@ -43,7 +47,7 @@ * * Since: 3.12 */ -#define GWEATHER_MAJOR_VERSION (@LIBGWEATHER_MAJOR_VERSION@) +#mesondefine GWEATHER_MAJOR_VERSION /** * GWEATHER_MINOR_VERSION: @@ -52,7 +56,7 @@ * * Since: 3.12 */ -#define GWEATHER_MINOR_VERSION (@LIBGWEATHER_MINOR_VERSION@) +#mesondefine GWEATHER_MINOR_VERSION /** * GWEATHER_MICRO_VERSION: @@ -61,7 +65,7 @@ * * Since: 3.12 */ -#define GWEATHER_MICRO_VERSION (@LIBGWEATHER_MICRO_VERSION@) +#mesondefine GWEATHER_MICRO_VERSION /** * GWEATHER_VERSION @@ -70,17 +74,7 @@ * * Since: 3.12 */ -#define GWEATHER_VERSION (@LIBGWEATHER_VERSION@) - -/** - * GWEATHER_VERSION_S: - * - * LibGweather version, encoded as a string, useful for printing and - * concatenation. - * - * Since: 3.12 - */ -#define GWEATHER_VERSION_S "@LIBGWEATHER_VERSION@" +#mesondefine GWEATHER_VERSION /** * GWEATHER_VERSION_HEX: |