VirtualBox

Changeset 43043 in vbox for trunk/include


Ignore:
Timestamp:
Aug 28, 2012 2:19:46 PM (12 years ago)
Author:
vboxsync
Message:

iprt/assert.h: Added ifndef RTASSERT_DONT_PANIC check around RTAssertPanic. This is useful in ring-0 when you don't want things to panic, but rather get all the log messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/assert.h

    r39033 r43043  
    44
    55/*
    6  * Copyright (C) 2006-2007 Oracle Corporation
     6 * Copyright (C) 2006-2012 Oracle Corporation
    77 *
    88 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    526526 * thing.
    527527 */
    528 #ifdef RT_STRICT
     528#if defined(RT_STRICT) && !defined(RTASSERT_DONT_PANIC)
    529529# define RTAssertPanic()        do { if (RTAssertShouldPanic()) RTAssertDoPanic(); } while (0)
    530530#else
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