diff options
author | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2024-03-20 14:23:40 +0100 |
---|---|---|
committer | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2024-03-21 16:30:59 +0100 |
commit | 9adcf67c9b164d019eebe45279bcaa91b0ce471a (patch) | |
tree | 5e323faf067516423e0552c9775d56cb3e5d1a44 /soltools | |
parent | 03ab46c8a189b751ed1acffd0b575fae584c1d00 (diff) |
Drop C/C++ DEBUG macro
...(that was defined iff OSL_DEBUG_LEVEL >= 2) and replace its uses with
OSL_DEBUG_LEVEL directly
Change-Id: I807c15a02cc8ced9852287df0afb4808761d19d2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165067
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Diffstat (limited to 'soltools')
-rw-r--r-- | soltools/mkdepend/def.h | 2 | ||||
-rw-r--r-- | soltools/mkdepend/main.c | 4 |
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 |