summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2009-04-17 13:24:01 -0700
committerRoland McGrath <roland@redhat.com>2009-04-17 13:24:01 -0700
commit8df65867e2980c7b17131ed81e75535d85e06026 (patch)
tree7ba643cc37de968c3887fa8c3b5f0ae4f4fea392 /config
parentee9d60de465261fd1c1ee275c89b4f486854c9ec (diff)
downloadelfutils-8df65867e2980c7b17131ed81e75535d85e06026.tar.gz
Arithmetic is hard.
Diffstat (limited to 'config')
-rw-r--r--config/version.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/version.h.in b/config/version.h.in
index 3de32a34..f678c696 100644
--- a/config/version.h.in
+++ b/config/version.h.in
@@ -53,6 +53,6 @@
#define _ELFUTILS_VERSION @eu_version@
#define _ELFUTILS_PREREQ(major, minor) \
- (_ELFUTILS_VERSION >= ((major) * 1000000 + (minor) * 1000))
+ ((_ELFUTILS_VERSION + 999) / 1000 >= ((major) * 1000 + (minor)))
#endif /* elfutils/version.h */