diff options
author | Roland McGrath <roland@redhat.com> | 2009-04-17 13:24:01 -0700 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2009-04-17 13:24:01 -0700 |
commit | 8df65867e2980c7b17131ed81e75535d85e06026 (patch) | |
tree | 7ba643cc37de968c3887fa8c3b5f0ae4f4fea392 /config | |
parent | ee9d60de465261fd1c1ee275c89b4f486854c9ec (diff) | |
download | elfutils-8df65867e2980c7b17131ed81e75535d85e06026.tar.gz |
Arithmetic is hard.
Diffstat (limited to 'config')
-rw-r--r-- | config/version.h.in | 2 |
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 */ |