// License: Modified MIT (NON-AI) // See the LICENSE file in the root directory for license information. // Copyright 2025 Timothy Prepscius #pragma once #include "../system/Debug.h" #if defined(_DEBUG) || defined(DEBUG) #define xDebugLine() { int x = 0; (void)x; } #define IS_DEBUG() 1 #ifndef _DEBUG #define _DEBUG #endif #ifndef DEBUG #define DEBUG #endif #else #define xDebugLine() (void)0; #define IS_DEBUG() 0 #ifndef NDEBUG #define NDEBUG #endif #endif #if defined(DEBUG) #define DEBUG_ONLY(...) __VA_ARGS__ #else #define DEBUG_ONLY(...) #endif