2013-01-10 11:15:37 -06:00
|
|
|
/*
|
|
|
|
Version settings
|
|
|
|
version 4.0.0.1 is Major.Minor.Micro.Patch
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef CONFIG_VERSION_H
|
|
|
|
#define CONFIG_VERSION_H
|
|
|
|
|
2013-01-11 05:21:22 -06:00
|
|
|
#define LIBO_VERSION_STRINGIFY_inner(s) #s
|
|
|
|
#define LIBO_VERSION_STRINGIFY(s) LIBO_VERSION_STRINGIFY_inner(s)
|
|
|
|
|
2013-01-10 11:15:37 -06:00
|
|
|
#undef LIBO_VERSION_MAJOR
|
|
|
|
#undef LIBO_VERSION_MINOR
|
|
|
|
#undef LIBO_VERSION_MICRO
|
|
|
|
#undef LIBO_VERSION_PATCH
|
2013-03-03 04:50:12 -06:00
|
|
|
#undef LIBO_THIS_YEAR
|
2013-01-10 11:15:37 -06:00
|
|
|
|
2013-01-11 05:21:22 -06:00
|
|
|
#define LIBO_VERSION_DOTTED \
|
2013-05-08 10:29:37 -05:00
|
|
|
LIBO_VERSION_STRINGIFY(LIBO_VERSION_MAJOR) "." \
|
|
|
|
LIBO_VERSION_STRINGIFY(LIBO_VERSION_MINOR) "." \
|
|
|
|
LIBO_VERSION_STRINGIFY(LIBO_VERSION_MICRO) "." \
|
|
|
|
LIBO_VERSION_STRINGIFY(LIBO_VERSION_PATCH)
|
2013-01-11 05:21:22 -06:00
|
|
|
|
|
|
|
#define LIBO_VERSION_ENCODED_IN_32BITS \
|
|
|
|
((LIBO_VERSION_MAJOR << 24) | (LIBO_VERSION_MINOR << 16) | (LIBO_VERSION_MICRO << 8) | LIBO_VERSION_PATCH)
|
|
|
|
|
2013-01-10 11:15:37 -06:00
|
|
|
#endif
|