gingerBill 3 years ago
parent
commit
da54d0ec8c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/build_settings.cpp

+ 1 - 1
src/build_settings.cpp

@@ -1076,7 +1076,7 @@ void init_build_context(TargetMetrics *cross_target) {
 	#endif
 
 	if (bc->disable_red_zone) {
-		if (!!is_arch_wasm() && bc->metrics.os == TargetOs_freestanding) {
+		if (is_arch_wasm() && bc->metrics.os == TargetOs_freestanding) {
 			gb_printf_err("-disable-red-zone is not support for this target");
 			gb_exit(1);
 		}