mirror of git://gcc.gnu.org/git/gcc.git
parent
cbf8d355b8
commit
2826df069f
|
|
@ -1,8 +1,5 @@
|
|||
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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -118,8 +118,8 @@ struct splay_tree_s GTY(())
|
|||
splay_tree_allocate_fn allocate;
|
||||
splay_tree_deallocate_fn deallocate;
|
||||
void * GTY((skip)) allocate_data;
|
||||
|
||||
};
|
||||
|
||||
typedef struct splay_tree_s *splay_tree;
|
||||
|
||||
extern splay_tree splay_tree_new (splay_tree_compare_fn,
|
||||
|
|
|
|||
Loading…
Reference in New Issue