commit | 416a00d2bc304f9f25d75221faa57b149bb6cdcb | [log] [tgz] |
---|---|---|
author | Alexandre Julliard <julliard@winehq.org> | Sat Apr 08 20:50:06 2000 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Sat Apr 08 20:50:06 2000 +0000 |
tree | 2249ca597afbb4e5538a456e3514d2040e114567 | |
parent | 2c0f14af3b8f47460ce6b7aa9fa307e6b40f08ab [diff] [blame] |
Added lazy initialization of critical sections, based on a patch by Andrew Lewycky.
diff --git a/include/winbase.h b/include/winbase.h index 9bc9b9d..0a5949c 100644 --- a/include/winbase.h +++ b/include/winbase.h
@@ -990,6 +990,10 @@ DWORD Reserved; }CRITICAL_SECTION; +#ifdef __WINE__ +#define CRITICAL_SECTION_INIT { 0, -1, 0, 0, 0, 0 } +#endif + typedef struct { DWORD dwOSVersionInfoSize; DWORD dwMajorVersion;