From cd53d13fd12f8dd86514b2894e62ee6612566975 Mon Sep 17 00:00:00 2001
From: open-license-manager <rillf@maildrop.cc>
Date: 周一, 04 8月 2014 00:38:17 +0800
Subject: [PATCH] linux tests ok

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

diff --git a/src/library/api/license++.h b/src/library/api/license++.h
index 713692a..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 )
@@ -51,12 +53,12 @@
  * Should be called from time to time to confirm we're still using the
  * slicense.
  */
-DllExport enum EVENT_TYPE confirm_license(char * productName,
+DllExport EVENT_TYPE confirm_license(char * productName,
 		LicenseLocation licenseLocation);
 /**
  * Do nothing for now, useful for network licenses.
  */
-DllExport enum EVENT_TYPE release_license(char * productName,
+DllExport EVENT_TYPE release_license(char * productName,
 		LicenseLocation licenseLocation);
 
 #ifdef __cplusplus

--
Gitblit v1.9.1