commit 1286cb0

uint  ·  2026-07-21 18:07:55 +0000 UTC
parent c0804f9
use NDEBUG in mg_log

DEBUG was not standard
1 files changed,  +1, -1
+1, -1
1@@ -27,7 +27,7 @@ void mg_die(MGErrorCodes ec, const char* fmt, ...)
2 
3 void mg_log(LogType lt, const char* fmt, ...)
4 {
5-#ifdef DEBUG
6+#ifndef NDEBUG
7 	int debug = 1;
8 #else
9 	int debug = 0;