ncannasse 7 năm trước cách đây
mục cha
commit
d2a6965641
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/hl.h

+ 1 - 1
src/hl.h

@@ -770,7 +770,7 @@ typedef struct {
 #	define DEFINE_PRIM_WITH_NAME	_DEFINE_PRIM_WITH_NAME
 #endif
 
-#ifdef HL_GCC
+#if defined(HL_GCC) && !defined(HL_CONSOLE)
 #	define HL_NO_OPT __attribute__((optimize("-O0")))
 #else
 #	define HL_NO_OPT