From 956f5dffa76908fe70dffaf9aeee11f057208895 Mon Sep 17 00:00:00 2001
From: open-license-manager <rillf@maildrop.cc>
Date: 周二, 22 7月 2014 05:20:33 +0800
Subject: [PATCH] fix compilation for gcc 4.8 & some unit test

---
 src/library/api/license++.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/library/api/license++.h b/src/library/api/license++.h
index b56a0e9..413c2d0 100644
--- a/src/library/api/license++.h
+++ b/src/library/api/license++.h
@@ -13,7 +13,9 @@
 
 #ifdef __unix__
 #define DllExport
-#define MAX_PATH 1024
+#ifndef MAX_PATH
+	#define MAX_PATH 1024
+#endif
 #else
 #include <windows.h>
 #define DllExport  __declspec( dllexport )

--
Gitblit v1.9.1