summaryrefslogtreecommitdiffstats
path: root/sal
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 16:17:22 +0100
commitf2609cc70fa4bb62a7ae876e97a3c7003bc1e99b (patch)
tree29fff688138d049550b3364334c32085e5bf63ed /sal
parentTemplate manager: paint white background under thumbnails (diff)
downloadcore-f2609cc70fa4bb62a7ae876e97a3c7003bc1e99b.tar.gz
core-f2609cc70fa4bb62a7ae876e97a3c7003bc1e99b.zip
Do not fail for unset OSL_DEBUG_LEVEL (as happens in SDK)
Change-Id: I0e9b8a251ed790d1505566ef4fa991309986522d
Diffstat (limited to 'sal')
-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 */