From 9871a03861f19923e41d3fb8c64f733c614038ae Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Wed, 29 Dec 2010 11:45:57 +0000 Subject: [PATCH] [STLPORT] - Fix compilation with 64 bit gcc svn path=/branches/cmake-bringup/; revision=50212 --- include/c++/stlport/stl/_num_put.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/c++/stlport/stl/_num_put.c b/include/c++/stlport/stl/_num_put.c index 0c07838212f..7d8278e98af 100644 --- a/include/c++/stlport/stl/_num_put.c +++ b/include/c++/stlport/stl/_num_put.c @@ -497,6 +497,9 @@ num_put<_CharT, _OutputIter>::do_put(_OutputIter __s, ios_base& __f, _CharT /*__ # pragma warning (disable : 4311) //pointer truncation from 'const void*' to 'unsigned long' #endif _OutputIter result = +#ifdef _WIN64 // ReactOS, compilation with 64 bit gcc +_STLP_PRIV __do_put_integer(__s, __f, __c_type.widen('0'), __REINTERPRET_CAST(unsigned _STLP_LONG_LONG,__val)); +#else #ifdef _STLP_LONG_LONG ( sizeof(void*) == sizeof(unsigned long) ) ? #endif @@ -506,6 +509,7 @@ num_put<_CharT, _OutputIter>::do_put(_OutputIter __s, ios_base& __f, _CharT /*__ _STLP_PRIV __do_put_integer(__s, __f, __c_type.widen('0'), __REINTERPRET_CAST(unsigned _STLP_LONG_LONG,__val)) #endif ; +#endif #if defined (_STLP_MSVC) # pragma warning (pop) #endif