diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-12-10 15:15:08 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-12-10 16:17:22 +0100 |
commit | f2609cc70fa4bb62a7ae876e97a3c7003bc1e99b (patch) | |
tree | 29fff688138d049550b3364334c32085e5bf63ed /sal/inc | |
parent | 1e9261aefd9cf19a12c3ce8fde883b21c3b29fb9 (diff) |
Do not fail for unset OSL_DEBUG_LEVEL (as happens in SDK)
Change-Id: I0e9b8a251ed790d1505566ef4fa991309986522d
Diffstat (limited to 'sal/inc')
-rw-r--r-- | sal/inc/osl/diagnose.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sal/inc/osl/diagnose.h b/sal/inc/osl/diagnose.h index eb52b20228fe..b3bfee91ad25 100644 --- a/sal/inc/osl/diagnose.h +++ b/sal/inc/osl/diagnose.h @@ -83,6 +83,10 @@ OSL_DEBUG_ONLY(expr) */ +#if !defined OSL_DEBUG_LEVEL +#define OSL_DEBUG_LEVEL 0 +#endif + #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ |