From 8df65867e2980c7b17131ed81e75535d85e06026 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 17 Apr 2009 13:24:01 -0700 Subject: [PATCH] Arithmetic is hard. --- config/version.h.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/version.h.in b/config/version.h.in index 3de32a34a..f678c6963 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 */ -- 2.47.2