switch to internal debug mode detection macro for the element size check in radsort

This commit is contained in:
Nikita Smith
2026-03-04 11:28:53 -08:00
parent 57cbd020a1
commit e9a2f36b23
3 changed files with 8 additions and 3 deletions
+5
View File
@@ -6,6 +6,11 @@
** stepping, breakpoints, evaluation, cross-module calls.
*/
#if COMPILER_MSVC && _DEBUG
#pragma comment(linker, "/nodefaultlib:libcmt")
#pragma comment(lib, "libcmtd")
#endif
#include <string>
#include <vector>
#include <unordered_map>
+1 -1
View File
@@ -438,7 +438,7 @@ RSFORCEINLINE void radsortinternal( void * start, size_t len, size_t element_siz
if ( len <= 1 )
return;
#if _DEBUG
#if BUILD_DEBUG
if ( element_size > sizeof( RS_MAX_SIMPLE_BUF ) )
__debugbreak();
#endif