aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenoit Germain <bnt.germain@gmail.com>2025-07-24 15:06:17 +0200
committerBenoit Germain <bnt.germain@gmail.com>2025-07-24 15:06:17 +0200
commit7b2505ea154be6d34131c4fc584c6ad2e42c01b7 (patch)
tree28c98a17be8f692d93edaebf9d7cd43079c33b4c /src
parent01a44c4226be63760ec492f2a6a416331094f0c7 (diff)
downloadlanes-7b2505ea154be6d34131c4fc584c6ad2e42c01b7.tar.gz
lanes-7b2505ea154be6d34131c4fc584c6ad2e42c01b7.tar.bz2
lanes-7b2505ea154be6d34131c4fc584c6ad2e42c01b7.zip
Use LANES_DEBUG instead of MSVC-specific _DEBUG to activate debug code
Diffstat (limited to 'src')
-rw-r--r--src/lanesconf.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lanesconf.h b/src/lanesconf.h
index 0afd493..07f1d52 100644
--- a/src/lanesconf.h
+++ b/src/lanesconf.h
@@ -42,12 +42,12 @@
42#endif // __cplusplus 42#endif // __cplusplus
43#endif // (defined PLATFORM_WIN32) || (defined PLATFORM_POCKETPC) 43#endif // (defined PLATFORM_WIN32) || (defined PLATFORM_POCKETPC)
44 44
45// kind of MSVC-specific 45// LANES_DEBUG has to be provided externally (makefile, vcproj, whatever)
46#ifdef _DEBUG 46#ifdef LANES_DEBUG
47#define HAVE_LUA_ASSERT() 1 47#define HAVE_LUA_ASSERT() 1
48#else // NDEBUG 48#else // LANES_DEBUG
49#define HAVE_LUA_ASSERT() 0 49#define HAVE_LUA_ASSERT() 0
50#endif // NDEBUG 50#endif // LANES_DEBUG
51 51
52#define USE_DEBUG_SPEW() 0 52#define USE_DEBUG_SPEW() 0
53#define HAVE_DECODA_SUPPORT() 0 53#define HAVE_DECODA_SUPPORT() 0