Commit 0f3943ec by Kai Tietz Committed by Hans-Peter Nilsson

splay-tree.h (libi_uhostptr_t, [...]): Adjust types work-a-round whitespace…

splay-tree.h (libi_uhostptr_t, [...]): Adjust types work-a-round whitespace problem in gcc gengtype.

	* splay-tree.h (libi_uhostptr_t, libi_shostptr_t): Adjust types
	work-a-round whitespace problem in gcc gengtype.

From-SVN: r126587
parent 51789816
2007-07-12 Kai Tietz <kai.tietz@onevision.com> 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, * splay-tree.h (libi_uhostptr_t, libi_shostptr_t): New types,
needed for WIN64 when a long is not wide enough for a pointer. needed for WIN64 when a long is not wide enough for a pointer.
(splay_tree_key, splay_tree_value): Use the new types. (splay_tree_key, splay_tree_value): Use the new types.
......
...@@ -37,11 +37,11 @@ extern "C" { ...@@ -37,11 +37,11 @@ extern "C" {
#include "ansidecl.h" #include "ansidecl.h"
#ifndef _WIN64 #ifndef _WIN64
typedef unsigned long int libi_uhostptr_t; typedef unsigned long int libi_uhostptr_t;
typedef long int libi_shostptr_t; typedef long int libi_shostptr_t;
#else #else
typedef unsigned long long libi_uhostptr_t; typedef unsigned long long libi_uhostptr_t;
typedef long long libi_shostptr_t; typedef long long libi_shostptr_t;
#endif #endif
#ifndef GTY #ifndef GTY
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment