summaryrefslogtreecommitdiff
path: root/sal/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-12-10 15:15:08 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-12-10 18:06:38 +0100
commitb2cb6e5e6f30640a243ac9c8b824548e022b96ab (patch)
tree5d9baf1effd454da7d5bed916b7f0caa827b26c5 /sal/inc
parentd421e1d25393416708f7c3fba625bd057deb9e08 (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/inc')
-rw-r--r--sal/inc/osl/diagnose.h4
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 */