From f76392f4762e51c0506c1fd1fd18c978f491debf Mon Sep 17 00:00:00 2001
From: open-license-manager <rillf@maildrop.cc>
Date: 周五, 12 9月 2014 03:06:54 +0800
Subject: [PATCH] windows compile

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

diff --git a/src/library/api/datatypes.h b/src/library/api/datatypes.h
index b49a06e..4cd6126 100644
--- a/src/library/api/datatypes.h
+++ b/src/library/api/datatypes.h
@@ -11,9 +11,10 @@
 extern "C" {
 #endif
 
-#include <stdbool.h>
-
+//definition of size_t
+#include <stdlib.h>
 #ifdef __unix__
+#include <stdbool.h>
 #define DllExport
 #else
 #include <windows.h>
@@ -61,7 +62,8 @@
 
 typedef struct {
 	const char *licenseFileLocation;
-	const char *environmentVariableName;bool openFileNearModule;
+	const char *environmentVariableName;
+	bool openFileNearModule;
 } LicenseLocation;
 
 typedef struct {

--
Gitblit v1.9.1