summaryrefslogtreecommitdiff
path: root/config_host/config_version.h.in
blob: 9a685827baea2605129183ff51a2e07649bec326 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
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_2 \
    LIBO_VERSION_STRINGIFY(LIBO_VERSION_MAJOR) "." \
    LIBO_VERSION_STRINGIFY(LIBO_VERSION_MINOR)

#define LIBO_VERSION_DOTTED \
    LIBO_VERSION_DOTTED_2 "." \
    LIBO_VERSION_STRINGIFY(LIBO_VERSION_MICRO) "." \
    LIBO_VERSION_STRINGIFY(LIBO_VERSION_PATCH)

#endif