diff options
author | David Tardon <dtardon@redhat.com> | 2011-02-25 17:23:02 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-02-25 17:23:02 +0100 |
commit | 51fb5a2a5d0a28f5f043207d0729f55f0b7d81f0 (patch) | |
tree | 73995556de91fc067ec11c5618d4c1330b4e5c7d /sal | |
parent | 5f90207e497a99ba6b666e14e5ff9b2d02e01960 (diff) |
define OSL_FAIL as replacement for DBG_ERROR
Diffstat (limited to 'sal')
-rw-r--r-- | sal/inc/osl/diagnose.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sal/inc/osl/diagnose.h b/sal/inc/osl/diagnose.h index 3b6e50cddd00..db60c63e036c 100644 --- a/sal/inc/osl/diagnose.h +++ b/sal/inc/osl/diagnose.h @@ -91,6 +91,7 @@ pfunc_osl_printDetailedDebugMessage SAL_CALL osl_setDetailedDebugMessageFunc( pf #define OSL_TRACE _OSL_TRACE #define OSL_ASSERT(c) _OSL_ENSURE(c, OSL_THIS_FILE, __LINE__, 0) #define OSL_ENSURE(c, m) _OSL_ENSURE(c, OSL_THIS_FILE, __LINE__, m) +#define OSL_FAIL(m) _OSL_ENSURE(0, OSL_THIS_FILE, __LINE__, m) #define OSL_VERIFY(c) do { if (!(c)) OSL_ASSERT(0); } while (0) #define OSL_PRECOND(c, m) OSL_ENSURE(c, m) |