openbox/version.h.in

16 lines
515 B
C
Raw Normal View History

2003-10-27 20:11:14 +00:00
#ifndef ob__version_h
#define ob__version_h
#define OB_MAJOR_VERSION @OB_MAJOR_VERSION@
#define OB_MINOR_VERSION @OB_MINOR_VERSION@
#define OB_MICRO_VERSION @OB_MICRO_VERSION@
#define OB_VERSION OB_MAJOR_VERSION.OB_MINOR_VERSION.OB_MICRO_VERSION
#define OB_CHECK_VERSION(major,minor,micro) \
(OB_MAJOR_VERSION > (major) || \
(OB_MAJOR_VERSION == (major) && OB_MINOR_VERSION > (minor)) || \
(OB_MAJOR_VERSION == (major) && OB_MINOR_VERSION == (minor) && \
OB_MICRO_VERSION >= (micro)))
#endif