summaryrefslogtreecommitdiff
path: root/endless/eosenums.h
diff options
context:
space:
mode:
authorPhilip Chimento <philip@endlessm.com>2015-08-31 12:54:08 -0700
committerPhilip Chimento <philip@endlessm.com>2015-08-31 17:06:17 -0700
commitac0d18a18ccd0873b62b332c14cd8547e72b1a5b (patch)
tree48e0d04aff63e6be5d6c608a047f80e274af0fda /endless/eosenums.h
parentaf2bda2d010164308686f2c38b80c3dd21f10606 (diff)
Generate version macros from configure
This adds EOS_SDK_MAJOR_VERSION, EOS_SDK_MINOR_VERSION and EOS_SDK_MICRO_VERSION as macros in eosversion.h whose values are generated from configure with AC_SUBST, rather than in config.h using AC_DEFINE. They are also public API, so they get documenation and Since: annotations. [endlessm/eos-sdk#3071]
Diffstat (limited to 'endless/eosenums.h')
-rw-r--r--endless/eosenums.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/endless/eosenums.h b/endless/eosenums.h
index 257f435..788b258 100644
--- a/endless/eosenums.h
+++ b/endless/eosenums.h
@@ -9,6 +9,8 @@
#include <glib-object.h>
+#include "eosapiversion-private.h"
+
G_BEGIN_DECLS
/* Shared typedefs for enumerations */