Explorar o código

only __debug_break() on PS if _DEBUG

ncannasse %!s(int64=7) %!d(string=hai) anos
pai
achega
e472812118
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/hl.h

+ 1 - 1
src/hl.h

@@ -243,7 +243,7 @@ C_FUNCTION_END
 
 #if defined(HL_VCC)
 #	define hl_debug_break()	if( IsDebuggerPresent() ) __debugbreak()
-#elif defined(HL_PS)
+#elif defined(HL_PS) && defined(_DEBUG)
 #	define hl_debug_break()	__debugbreak()
 #elif defined(HL_NX)
 C_FUNCTION_BEGIN