133fbbcbd3
Change-Id: Iddbfcacd17c1022293357ff5240ab7a52b1a390e Reviewed-on: https://gerrit.libreoffice.org/2677 Reviewed-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
27 lines
759 B
C
27 lines
759 B
C
/*
|
|
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))
|
|
|
|
#define LIBO_VERSION_ENCODED_IN_32BITS \
|
|
((LIBO_VERSION_MAJOR << 24) | (LIBO_VERSION_MINOR << 16) | (LIBO_VERSION_MICRO << 8) | LIBO_VERSION_PATCH)
|
|
|
|
#endif
|