Ver código fonte

only __debug_break() on PS if _DEBUG

ncannasse 7 anos atrás
pai
commit
e472812118
1 arquivos alterados com 1 adições e 1 exclusões
  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