mutter/clutter/clutter-version.h.in
Emmanuele Bassi 334789b1fc 2006-12-02 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-version.h.in: Fix a stupid logic
	error in the CHECK_VERSION macro.
2006-12-02 22:54:58 +00:00

18 lines
772 B
C

#ifndef __CLUTTER_VERSION_H__
#define __CLUTTER_VERSION_H__
#define CLUTTER_MAJOR_VERSION @CLUTTER_MAJOR_VERSION@
#define CLUTTER_MINOR_VERSION @CLUTTER_MINOR_VERSION@
#define CLUTTER_MICRO_VERSION @CLUTTER_MICRO_VERSION@
#define CLUTTER_VERSION @CLUTTER_VERSION@
#define CLUTTER_VERSION_S "@CLUTTER_VERSION@"
#define CLUTTER_VERSION_HEX 0x@CLUTTER_MAJOR_VERSION@0@CLUTTER_MINOR_VERSION@0@CLUTTER_MICRO_VERSION@
#define CLUTTER_CHECK_VERSION(major,minor,micro) \
(CLUTTER_MAJOR_VERSION > (major) || \
(CLUTTER_MAJOR_VERSION == (major) && CLUTTER_MINOR_VERSION > (minor)) || \
(CLUTTER_MAJOR_VERSION == (major) && CLUTTER_MINOR_VERSION == (minor) && CLUTTER_MICRO_VERSION > (micro)))
#endif /* __CLUTTER_VERSION_H__ */