From c914d298604ef7ad3934c3c213d3f8822d6646d9 Mon Sep 17 00:00:00 2001
From: Guillaume Buisson <contact@guillaume.dev>
Date: 摹曛, 20 5月 2021 13:50:43 +0800
Subject: [PATCH] Several fixes (#120)

---
 src/library/ini/SimpleIni.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/library/ini/SimpleIni.h b/src/library/ini/SimpleIni.h
index ac703b2..7142085 100644
--- a/src/library/ini/SimpleIni.h
+++ b/src/library/ini/SimpleIni.h
@@ -223,7 +223,7 @@
 # include <iostream>
 #endif // SI_SUPPORT_IOSTREAMS
 
-#ifdef _DEBUG
+#ifndef NDEBUG
 # ifndef assert
 #  include <cassert>
 # endif
@@ -2488,7 +2488,7 @@
 
         bNeedNewLine = true;
     }
-    
+
     // Append new empty line
     a_oOutput.Write(SI_NEWLINE_A);
 

--
Gitblit v1.9.1