From fd8f580b63ade3bfba23d0de80632659a1700b15 Mon Sep 17 00:00:00 2001 From: flysand7 Date: Tue, 1 Aug 2023 11:28:18 +1100 Subject: [PATCH] Rename DEBUG to _DEBUG --- build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.py b/build.py index e8f4a17..7d9e23f 100755 --- a/build.py +++ b/build.py @@ -74,7 +74,7 @@ if args.mode == 'release': else: # 'debug' cc_flags.append('-g') cc_flags.append('-O0') - cc_defines.append('DEBUG') + cc_defines.append('_DEBUG') if target != 'windows': cc_flags.append('-fpic') cc_defines.append(f'_CIA_OS_{target.upper()}')