diff options
Diffstat (limited to 'config_host/config_version.h.in')
-rw-r--r-- | config_host/config_version.h.in | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/config_host/config_version.h.in b/config_host/config_version.h.in new file mode 100644 index 0000000000..40c7dad24c --- /dev/null +++ b/config_host/config_version.h.in @@ -0,0 +1,24 @@ +/* +Version settings + version 4.0.0.1 is Major.Minor.Micro.Patch +*/ + +#ifndef CONFIG_VERSION_H +#define CONFIG_VERSION_H + +#define LIBO_VERSION_STRINGIFY_inner(s) #s +#define LIBO_VERSION_STRINGIFY(s) LIBO_VERSION_STRINGIFY_inner(s) + +#undef LIBO_VERSION_MAJOR +#undef LIBO_VERSION_MINOR +#undef LIBO_VERSION_MICRO +#undef LIBO_VERSION_PATCH +#undef LIBO_THIS_YEAR + +#define LIBO_VERSION_DOTTED \ + LIBO_VERSION_STRINGIFY(LIBO_VERSION_MAJOR) "." \ + LIBO_VERSION_STRINGIFY(LIBO_VERSION_MINOR) "." \ + LIBO_VERSION_STRINGIFY(LIBO_VERSION_MICRO) "." \ + LIBO_VERSION_STRINGIFY(LIBO_VERSION_PATCH) + +#endif |