From ae8772e6ec3af7eea21b28642ad09cb7ce4c348b Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Thu, 12 Jul 2007 13:30:24 +0000 Subject: * splay-tree.h (libi_uhostptr_t, libi_shostptr_t): Adjust types work-a-round whitespace problem in gcc gengtype. --- include/ChangeLog | 3 +++ include/splay-tree.h | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/ChangeLog b/include/ChangeLog index e1c1b67..1d81676 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,5 +1,8 @@ 2007-07-12 Kai Tietz + * 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 996d362..7df1a7c 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 -- cgit v1.1