summaryrefslogtreecommitdiff
path: root/soltools
diff options
context:
space:
mode:
Diffstat (limited to 'soltools')
-rw-r--r--soltools/mkdepend/def.h2
-rw-r--r--soltools/mkdepend/main.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/soltools/mkdepend/def.h b/soltools/mkdepend/def.h
index bd06c5f01378..0dfb5638eddf 100644
--- a/soltools/mkdepend/def.h
+++ b/soltools/mkdepend/def.h
@@ -77,7 +77,7 @@ in this Software without prior written authorization from the X Consortium.
#define ELIFFALSE 16 /* pseudo value --- never matched */
#define ELIFGUESSFALSE 19 /* pseudo value --- never matched */
-#ifdef DEBUG
+#if OSL_DEBUG_LEVEL >= 2
extern int _debugmask;
/*
* debug levels are:
diff --git a/soltools/mkdepend/main.c b/soltools/mkdepend/main.c
index 708d2c3b53dd..cf06e9797d94 100644
--- a/soltools/mkdepend/main.c
+++ b/soltools/mkdepend/main.c
@@ -83,7 +83,7 @@ typedef _W64 int ssize_t;
#define USE_CHMOD 1
#endif
-#ifdef DEBUG
+#if OSL_DEBUG_LEVEL >= 2
int _debugmask;
#endif
@@ -309,7 +309,7 @@ int main(int argc, char **argv)
case 'v':
if (endmarker) break;
verbose = TRUE;
-#ifdef DEBUG
+#if OSL_DEBUG_LEVEL >= 2
if (argv[0][2])
_debugmask = atoi(argv[0]+2);
#endif