summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-desktop.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'libmate-desktop/mate-desktop.h.in')
-rw-r--r--libmate-desktop/mate-desktop.h.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/libmate-desktop/mate-desktop.h.in b/libmate-desktop/mate-desktop.h.in
index fba608f..e63bd38 100644
--- a/libmate-desktop/mate-desktop.h.in
+++ b/libmate-desktop/mate-desktop.h.in
@@ -27,10 +27,10 @@
#define __MATE_DESKTOP_H__
#define MATE_DESKTOP_CHECK_VERSION(major,minor,micro) \
- (MATE_MAJOR > (major) || \
- (MATE_MAJOR == (major) && MATE_MINOR > (minor)) || \
- (MATE_MAJOR == (major) && MATE_MINOR == (minor) && \
- MATE_MICRO >= (micro)))
+ (@MATE_PLATFORM@ > (major) || \
+ (@MATE_PLATFORM@ == (major) && @MATE_MINOR@ > (minor)) || \
+ (@MATE_PLATFORM@ == (major) && @MATE_MINOR@ == (minor) && \
+ @MATE_MICRO@ >= (micro)))
#define MATE_DESKTOP_VERSION "@PACKAGE_VERSION@"