Changeset 22020 for trunk/src/ole32


Ignore:
Timestamp:
Sep 25, 2012, 11:55:02 PM (13 years ago)
Author:
dmik
Message:

Disable debug fields of RTL_CRITICAL_SECTION_DEBUG.

Odin uses the DebugInfo ptr in CRITICAL_SECTION for its own purposes
which are incompatible with NT. For this reason any NT-style usage must
be disabled.

This in particular fixes debug assertions and crashes in CRYPT32.DLL (due to
misinterpretation of the structure fields) which happened e.g. during playback of
some Flash content.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ole32/ifs.c

    r21916 r22020  
    3434
    3535#include "wine/debug.h"
    36 
    37 #ifdef __WIN32OS2__
    38 #define CRITICAL_SECTION_INIT(name) { (void *)(__FILE__ ": " name), -1, 0, 0, 0, 0 }
    39 #endif
    4036
    4137WINE_DEFAULT_DEBUG_CHANNEL(ole);
Note: See TracChangeset for help on using the changeset viewer.