From 0fd661591e85bbf730bb274a56961432bceb7071 Mon Sep 17 00:00:00 2001
From: gcontini <1121667+gcontini@users.noreply.github.com>
Date: 周日, 22 11月 2020 09:26:29 +0800
Subject: [PATCH] repo rename: open-license-manager -> licensecc

---
 src/library/licensecc.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/library/licensecc.cpp b/src/library/licensecc.cpp
index ea34b28..f9807a2 100644
--- a/src/library/licensecc.cpp
+++ b/src/library/licensecc.cpp
@@ -38,7 +38,7 @@
 			result = true;
 		} catch (const std::exception& ex) {
 			LOG_ERROR("Error calculating hw_identifier: %s", ex.what());
-#ifdef _DEBUG
+#ifndef NDEBUG
 			cout << "Error occurred: " << ex.what() << std::endl;
 #endif
 		}
@@ -122,7 +122,7 @@
 			license_out->days_left = 0;
 		}
 	}
-#ifdef _DEBUG
+#ifndef NDEBUG
 	cout << er << endl;
 #endif
 

--
Gitblit v1.9.1