diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-12-10 15:15:08 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-12-10 18:06:38 +0100 |
commit | b2cb6e5e6f30640a243ac9c8b824548e022b96ab (patch) | |
tree | 5d9baf1effd454da7d5bed916b7f0caa827b26c5 /sal | |
parent | d421e1d25393416708f7c3fba625bd057deb9e08 (diff) |
Do not fail for unset OSL_DEBUG_LEVEL (as happens in SDK)
Change-Id: I0e9b8a251ed790d1505566ef4fa991309986522d
(cherry picked from commit f2609cc70fa4bb62a7ae876e97a3c7003bc1e99b)
Diffstat (limited to 'sal')
-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 */ |