#if out some "strange" __ROS_LONG64__ definition for (U)INT_PTR, as it doesn't make sense and breaks other code. The whole __ROS_LONG64__ hack should be improved by ... being removed.

svn path=/trunk/; revision=39470
This commit is contained in:
Timo Kreuzer 2009-02-08 03:40:38 +00:00
parent 9f5a99cfcf
commit 6698807429

View file

@ -99,10 +99,10 @@ static inline void* ULongToPtr( const unsigned long ul )
{ return( (void*)(ULONG_PTR)ul ); }
#endif /* !__midl */
#else /* !_WIN64 */
#if !defined(__ROS_LONG64__)
#if 1// !defined(__ROS_LONG64__)
typedef int INT_PTR, *PINT_PTR;
typedef unsigned int UINT_PTR, *PUINT_PTR;
#else
#else // WTF??? HACK of break
typedef long INT_PTR, *PINT_PTR;
typedef unsigned long UINT_PTR, *PUINT_PTR;
#endif