mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 03:20:46 -05:00
334789b1fc
* clutter/clutter-version.h.in: Fix a stupid logic error in the CHECK_VERSION macro.
18 lines
772 B
C
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__ */
|