From 677760a3076884bd6496e3676b1102db400f79d6 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 16 Aug 2009 00:39:43 -0700 Subject: Fix 64-bit platform handling in test cases for generated headers with constants. --- scripts/gen-as-const.awk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/gen-as-const.awk b/scripts/gen-as-const.awk index 20d18c12af..1ffd5f2c1c 100644 --- a/scripts/gen-as-const.awk +++ b/scripts/gen-as-const.awk @@ -16,7 +16,8 @@ NF >= 1 && !started { if (test) { print "\n#include "; print "\n#include "; - print "\n#if __WORDSIZE__ == 64"; + print "\n#include "; + print "\n#if __WORDSIZE == 64"; print "\ntypedef uint64_t c_t;"; print "\n#define U(n) UINT64_C (n)"; print "\n#define PRI PRId64"; -- cgit v1.2.1