PATCH: splay-tree.h needs type adjustment for _WIN64.
Kai Tietz
Kai.Tietz@onevision.com
Thu Jun 28 11:19:00 GMT 2007
Hello,
for the support of gcc on native _WIN64 platform it is needed to use the
"long long" as scalar value. On _WIN64 the size of the "long int" type
remains 4 bytes wide, but a pointer value is 8 bytes wide.
ChangeLog:
2007-06-28 Kai Tietz <Kai.Tietz@onevision.com>
* splay-tree.h (splay_tree_size_ulongptr): New type
wide enough to hold a scalar and a pointer type also
for x86_64 mingw.
(splay_tree_key, splay_tree_value): Use new type.
Cheers,
i.A. Kai Tietz
| (\_/) This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.
------------------------------------------------------------------------------------------
OneVision Software Entwicklungs GmbH & Co. KG
Dr.-Leo-Ritter-Straße 9 - 93049 Regensburg
Tel: +49.(0)941.78004.0 - Fax: +49.(0)941.78004.489 - www.OneVision.com
Commerzbank Regensburg - BLZ 750 400 62 - Konto 6011050
Handelsregister: HRA 6744, Amtsgericht Regensburg
Komplementärin: OneVision Software Entwicklungs Verwaltungs GmbH
Dr.-Leo-Ritter-Straße 9 – 93049 Regensburg
Handelsregister: HRB 8932, Amtsgericht Regensburg - Geschäftsführer:
Ulrike Döhler, Manuela Kluger
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: splay_tree.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070628/3195393f/attachment.txt>
More information about the Gcc-patches
mailing list