[unique] Fix the macro UNIQUE_CHECK_VERSION
- From: Emmanuele Bassi <ebassi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [unique] Fix the macro UNIQUE_CHECK_VERSION
- Date: Sun, 1 Nov 2009 18:30:20 +0000 (UTC)
commit 4d0af17133a5eb6d2b256d35985f275c23c1cc32
Author: Emmanuel Rodriguez <emmanuel rodriguez gmail com>
Date: Sun Oct 18 22:51:24 2009 +0200
Fix the macro UNIQUE_CHECK_VERSION
The check for the micro version was done on the wrong variable and
it causes a compilation error.
https://bugzilla.gnome.org/show_bug.cgi?id=598870
Signed-off-by: Emmanuele Bassi <ebassi linux intel com>
unique/uniqueversion.h.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/unique/uniqueversion.h.in b/unique/uniqueversion.h.in
index 8ef87cb..e8572ea 100644
--- a/unique/uniqueversion.h.in
+++ b/unique/uniqueversion.h.in
@@ -113,6 +113,6 @@
#define UNIQUE_CHECK_VERSION(major,minor,micro) \
((UNIQUE_MAJOR_VERSION > (major)) || \
(UNIQUE_MAJOR_VERSION == (major) && UNIQUE_MICRO_VERSION > (minor)) || \
- (UNIQUE_MAJOR_VERSION == (major) && UNIQUE_MICRO_VERSION == (minor) && UNIQUE_MICRO > (micro)))
+ (UNIQUE_MAJOR_VERSION == (major) && UNIQUE_MICRO_VERSION == (minor) && UNIQUE_MICRO_VERSION > (micro)))
#endif /* __UNIQUE_VERSION_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]