[EMAIL PROTECTED] wrote:
Author: faridz
Date: Wed Jan 16 04:04:48 2008
New Revision: 612428

URL: http://svn.apache.org/viewvc?rev=612428&view=rev
Log:
2008-01-16  Farid Zaripov  <[EMAIL PROTECTED]>

        * include/rw/_config-msvcrt.h: Don't #define _RWSTD_NO_LONG_LONG as 
__int64
        if long long type is supported by compiler.

IIRC, this was hardcoded to work around an MSVC 7 bug that rejected
long long and unsigned long long overloads. I don't have access to
7.0 at the moment to check but if you do and can confirm this we
might want to make the change conditional on 7.1 and better.

Martin



Modified:
    stdcxx/branches/4.2.x/include/rw/_config-msvcrt.h

Modified: stdcxx/branches/4.2.x/include/rw/_config-msvcrt.h
URL: 
http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/include/rw/_config-msvcrt.h?rev=612428&r1=612427&r2=612428&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/include/rw/_config-msvcrt.h (original)
+++ stdcxx/branches/4.2.x/include/rw/_config-msvcrt.h Wed Jan 16 04:04:48 2008
@@ -89,7 +89,9 @@
 #endif   // _RWSTD_NO_STATIC_CONST_MEMBER_DEFINITION
// enable iostream and locale support for long long integers
-#define _RWSTD_LONG_LONG __int64
+#ifdef _RWSTD_NO_LONG_LONG
+#  define _RWSTD_LONG_LONG __int64
+#endif
#if defined (_WIN64)
      // FIXME: handle by forward declaring fuctions in <rw/_mutex.h>




Reply via email to