From a04b01097ca0c77bfaeb18ef15df6ed59577daef Mon Sep 17 00:00:00 2001 From: Samuel Serapion Date: Mon, 15 Dec 2008 02:09:44 +0000 Subject: [PATCH] hack for wine specific hack. svn path=/branches/ros-amd64-bringup/; revision=38093 --- reactos/include/psdk/winbase.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/reactos/include/psdk/winbase.h b/reactos/include/psdk/winbase.h index 34b89ec4e91..2bab90be5fa 100644 --- a/reactos/include/psdk/winbase.h +++ b/reactos/include/psdk/winbase.h @@ -785,7 +785,11 @@ typedef struct _CRITICAL_SECTION_DEBUG { LIST_ENTRY ProcessLocksList; DWORD EntryCount; DWORD ContentionCount; - DWORD Spare [2]; +//#ifdef __WINESRC__ //not all wine code is marked so + DWORD_PTR Spare[8/sizeof(DWORD_PTR)];/* in Wine they store a string here */ +//#else + //WORD SpareWORD; +//#endif } CRITICAL_SECTION_DEBUG,*PCRITICAL_SECTION_DEBUG; typedef struct _CRITICAL_SECTION { PCRITICAL_SECTION_DEBUG DebugInfo;