Explorar el Código

only __debug_break() on PS if _DEBUG

ncannasse hace 7 años
padre
commit
e472812118
Se han modificado 1 ficheros con 1 adiciones y 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