From 2d75b7944990f1ce80b3847be1f8dff09df82dad Mon Sep 17 00:00:00 2001
From: Victor Toofic <toofics@users.noreply.github.com>
Date: 摹曛, 20 5月 2021 00:04:08 +0800
Subject: [PATCH] - use CMake PROJECT_DESCRIPTION var instead to be able to build with cmake < 3.8 (#118)

---
 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