summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2007-07-12 13:30:24 +0000
committerHans-Peter Nilsson <hp@axis.com>2007-07-12 13:30:24 +0000
commit254860bcfd9f891f9ce9f713aaae58dffa7f5452 (patch)
tree4ef5aa035ccedc5cdcc8079bed39a4f45ab75b60 /include
parent6e3117d51bc005e6b671b1859bae15c4d17c3db1 (diff)
downloadcygnal-254860bcfd9f891f9ce9f713aaae58dffa7f5452.tar.gz
cygnal-254860bcfd9f891f9ce9f713aaae58dffa7f5452.tar.bz2
cygnal-254860bcfd9f891f9ce9f713aaae58dffa7f5452.zip
* splay-tree.h (libi_uhostptr_t, libi_shostptr_t): Adjust types
work-a-round whitespace problem in gcc gengtype.
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 e1c1b6782..1d8167653 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 996d362ef..7df1a7c7b 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