aboutsummaryrefslogtreecommitdiff
path: root/fixincludes/inclhack.def
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2009-10-23 20:45:33 +0000
committerJeff Law <law@redhat.com>2009-10-23 20:45:33 +0000
commit1842abc1729f8464ebb6841bbba53c16e2ef85e4 (patch)
tree11cd53c01c82fef4a36dc441c177c8f5791e42b5 /fixincludes/inclhack.def
parent7cb10b40862da77eb3b5b1d8849fcf9586cc76ee (diff)
parent4305ca1e7fb07a4366633371d39928486f440d40 (diff)
Merge from trunkreload-v2
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/reload-v2@153515 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'fixincludes/inclhack.def')
-rw-r--r--fixincludes/inclhack.def13
1 files changed, 3 insertions, 10 deletions
diff --git a/fixincludes/inclhack.def b/fixincludes/inclhack.def
index 72841b31f7a..da4a94ce9f9 100644
--- a/fixincludes/inclhack.def
+++ b/fixincludes/inclhack.def
@@ -2213,16 +2213,9 @@ fix = {
select =
"^[ \t]*#[ \t]*define[ \t]+UINT_(LEAST|FAST)64_MAX[ \t]+ULLONG_MAX";
c_fix = format;
- c-fix-arg = <<- _EOFix_
- #ifdef __LP64__
- # define UINT_%164_MAX ULONG_MAX
- #else
- %0
- #endif
- _EOFix_;
- test-text = <<- _EOFix_
- # define UINT_FAST64_MAX ULLONG_MAX
- # define UINT_LEAST64_MAX ULLONG_MAX
+ c-fix-arg = "# define UINT_%164_MAX __UINT64_MAX__";
+ test-text = "# define UINT_FAST64_MAX ULLONG_MAX\n"
+ "# define UINT_LEAST64_MAX ULLONG_MAX\n";
_EOFix_;
};