mssing header
[dana/openbox-history.git] / version.h.in
1 #ifndef ob__version_h
2 #define ob__version_h
3
4 #define OB_MAJOR_VERSION @OB_MAJOR_VERSION@
5 #define OB_MINOR_VERSION @OB_MINOR_VERSION@
6 #define OB_MICRO_VERSION @OB_MICRO_VERSION@
7 #define OB_VERSION OB_MAJOR_VERSION.OB_MINOR_VERSION.OB_MICRO_VERSION
8
9 #define OB_CHECK_VERSION(major,minor,micro) \
10     (OB_MAJOR_VERSION > (major) || \
11      (OB_MAJOR_VERSION == (major) && OB_MINOR_VERSION > (minor)) || \
12      (OB_MAJOR_VERSION == (major) && OB_MINOR_VERSION == (minor) && \
13       OB_MICRO_VERSION >= (micro)))
14
15 #endif