From 25c7e566aa06f77bbabca502e299598986a8d010 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gardou?= Date: Sat, 8 Dec 2012 21:46:08 +0000 Subject: [PATCH] [INCLUDE/CRT] - Add yet an other __ROS_LONG64__ hack to get newest wine tests to compile svn path=/trunk/; revision=57828 --- reactos/include/crt/crtdefs.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/reactos/include/crt/crtdefs.h b/reactos/include/crt/crtdefs.h index 03bbb9be4e4..76cc426c26f 100644 --- a/reactos/include/crt/crtdefs.h +++ b/reactos/include/crt/crtdefs.h @@ -343,6 +343,14 @@ extern "C" { #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 #define _TIME_T_DEFINED #ifdef _USE_32BIT_TIME_T