Author: jgardou Date: Sat Dec 8 21:46:08 2012 New Revision: 57828
URL: http://svn.reactos.org/svn/reactos?rev=57828&view=rev Log: [INCLUDE/CRT] - Add yet an other __ROS_LONG64__ hack to get newest wine tests to compile
Modified: trunk/reactos/include/crt/crtdefs.h
Modified: trunk/reactos/include/crt/crtdefs.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/crt/crtdefs.h?rev=5... ============================================================================== --- trunk/reactos/include/crt/crtdefs.h [iso-8859-1] (original) +++ trunk/reactos/include/crt/crtdefs.h [iso-8859-1] Sat Dec 8 21:46:08 2012 @@ -341,6 +341,14 @@ #if _INTEGRAL_MAX_BITS >= 64 __MINGW_EXTENSION typedef __int64 __time64_t; #endif +#endif + +/* For wine code... */ +#if !defined(_MSVCRT_LONG_DEFINED) && defined(__ROS_LONG64__) +#define _MSVCRT_LONG_DEFINED +/* we need 32-bit longs even on 64-bit */ +typedef int __msvcrt_long; +typedef unsigned int __msvcrt_ulong; #endif
#ifndef _TIME_T_DEFINED