From c17f6a95d4d23f3331d7f05229d8f8efa5037d69 Mon Sep 17 00:00:00 2001 From: Rafal Kupiec Date: Sat, 18 May 2024 17:30:11 +0200 Subject: [PATCH] Use relative path in debug output --- sdk/xtdk/xtdebug.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk/xtdk/xtdebug.h b/sdk/xtdk/xtdebug.h index ae8b19a..56ecb81 100644 --- a/sdk/xtdk/xtdebug.h +++ b/sdk/xtdk/xtdebug.h @@ -11,11 +11,11 @@ /* Debugging macros */ -#define CHECKPOINT DebugPrint(L"Checkpoint reached at %s:%d\n", __FILE__, __LINE__); +#define CHECKPOINT DebugPrint(L"Checkpoint reached at %s:%d\n", __RELFILE__, __LINE__); #define DEPRECATED DebugPrint(L"Called deprecated routine '%s()' at %s:%d\n", \ - __FUNCTION__, __FILE__, __LINE__); + __FUNCTION__, __RELFILE__, __LINE__); #define UNIMPLEMENTED DebugPrint(L"Called unimplemented routine '%s()' at %s:%d\n", \ - __FUNCTION__, __FILE__, __LINE__); + __FUNCTION__, __RELFILE__, __LINE__); /* XTOS platform debugging macros */ #ifdef DBG