From 8bea2e0fbebf88061826092ebd8208a742cb14f3 Mon Sep 17 00:00:00 2001
From: Maximilien Siavelis <maximilien.siavelis@simulease.com>
Date: 周六, 13 1月 2018 01:38:59 +0800
Subject: [PATCH] remove dllexport

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

diff --git a/src/library/api/license++.h b/src/library/api/license++.h
index b56a0e9..faece34 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 )
@@ -25,7 +27,7 @@
  * Method used to convert the LicenseInfo into a human readable
  * representation.
  */
-DllExport void print_error(char out_buffer[256], LicenseInfo* licenseInfo);
+void print_error(char out_buffer[256], LicenseInfo* licenseInfo);
 
 /**
  * This method calculate the pc identifier. The string has to be shown
@@ -43,7 +45,7 @@
  * @param license[out] optional, can be NULL.
  */
 
-DllExport EVENT_TYPE acquire_license(const char * productName,
+EVENT_TYPE acquire_license(const char * productName,
 		LicenseLocation licenseLocation, LicenseInfo* license);
 
 /**
@@ -51,12 +53,12 @@
  * Should be called from time to time to confirm we're still using the
  * slicense.
  */
-DllExport EVENT_TYPE confirm_license(char * productName,
+EVENT_TYPE confirm_license(char * productName,
 		LicenseLocation licenseLocation);
 /**
  * Do nothing for now, useful for network licenses.
  */
-DllExport EVENT_TYPE release_license(char * productName,
+EVENT_TYPE release_license(char * productName,
 		LicenseLocation licenseLocation);
 
 #ifdef __cplusplus

--
Gitblit v1.9.1