VirtualBox

Changeset 30781 in vbox


Ignore:
Timestamp:
Jul 12, 2010 9:06:47 AM (15 years ago)
Author:
vboxsync
Message:

Main: fix confusion in new DebugBreakThrow macro

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/VirtualBoxBase.h

    r30764 r30781  
    408408 *  finding the actual thrower possible.
    409409 */
    410 #if defined (DEBUG)
    411 #define DebugBreakThrow(a) throw (a)
    412 #else
     410#ifdef DEBUG
    413411#define DebugBreakThrow(a) \
    414412    do { \
    415413        RTAssertDebugBreak(); \
    416414        throw (a); \
    417     } while (0)
     415} while (0)
    418416#endif
     417#else
     418#define DebugBreakThrow(a) throw (a)
    419419
    420420/**
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