diff options
author | Andreas Schwab <schwab@redhat.com> | 2009-08-17 14:22:42 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@redhat.com> | 2009-08-17 14:22:42 +0200 |
commit | 2a6cd5073439e5b32468aa2da701e417f899555e (patch) | |
tree | 50e7be750e51759fc30260ec4c387383757bebd7 /scripts | |
parent | 4af7f59a26e334d1fb5f0f10af00feaefc53a1b0 (diff) | |
parent | 677760a3076884bd6496e3676b1102db400f79d6 (diff) |
Merge commit 'origin/master' into fedora/master
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/gen-as-const.awk | 3 |
1 files changed, 2 insertions, 1 deletions
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 <inttypes.h>"; print "\n#include <stdio.h>"; - print "\n#if __WORDSIZE__ == 64"; + print "\n#include <bits/wordsize.h>"; + print "\n#if __WORDSIZE == 64"; print "\ntypedef uint64_t c_t;"; print "\n#define U(n) UINT64_C (n)"; print "\n#define PRI PRId64"; |