summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-12 13:08:49 +0000
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-12 13:08:49 +0000
commitddafc9f5b36f82cf1692a50bda2ef0e701899e04 (patch)
tree8b7206e066b6887b0d625ac697a1193b155ec205 /include
parent0864c79652fafc732de2115c95418644596dd5d1 (diff)
downloadgcc-ddafc9f5b36f82cf1692a50bda2ef0e701899e04.tar.gz
* splay-tree.h (libi_uhostptr_t, libi_shostptr_t): Adjust types
work-a-round whitespace problem in gcc gengtype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126587 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog3
-rw-r--r--include/splay-tree.h8
2 files changed, 7 insertions, 4 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 9700c24fd65..852d90c2ea0 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,5 +1,8 @@
2007-07-12 Kai Tietz <kai.tietz@onevision.com>
+ * splay-tree.h (libi_uhostptr_t, libi_shostptr_t): Adjust types
+ work-a-round whitespace problem in gcc gengtype.
+
* splay-tree.h (libi_uhostptr_t, libi_shostptr_t): New types,
needed for WIN64 when a long is not wide enough for a pointer.
(splay_tree_key, splay_tree_value): Use the new types.
diff --git a/include/splay-tree.h b/include/splay-tree.h
index 996d362ef83..7df1a7c7b98 100644
--- a/include/splay-tree.h
+++ b/include/splay-tree.h
@@ -37,11 +37,11 @@ extern "C" {
#include "ansidecl.h"
#ifndef _WIN64
- typedef unsigned long int libi_uhostptr_t;
- typedef long int libi_shostptr_t;
+typedef unsigned long int libi_uhostptr_t;
+typedef long int libi_shostptr_t;
#else
- typedef unsigned long long libi_uhostptr_t;
- typedef long long libi_shostptr_t;
+typedef unsigned long long libi_uhostptr_t;
+typedef long long libi_shostptr_t;
#endif
#ifndef GTY