VirtualBox

Changeset 26746 in vbox for trunk


Ignore:
Timestamp:
Feb 24, 2010 1:48:09 PM (15 years ago)
Author:
vboxsync
Message:

Autolock.h: Only test for RT_LOCK_STRICT because we want lock validation and lock details for main in strict builds and not only debug builds.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/com/AutoLock.h

    r25939 r26746  
    3636// macros for automatic lock validation; these will amount to nothing
    3737// unless lock validation is enabled for the runtime
    38 #if defined(RT_LOCK_STRICT) && defined (DEBUG)
    39 #define VBOX_WITH_MAIN_LOCK_VALIDATION
     38#if defined(RT_LOCK_STRICT)
     39# define VBOX_WITH_MAIN_LOCK_VALIDATION
    4040# define COMMA_LOCKVAL_SRC_POS , RT_SRC_POS
    4141# define LOCKVAL_SRC_POS_DECL RT_SRC_POS_DECL
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette