From b446e4d14a0694d23573d77672ef6d70c51d6a08 Mon Sep 17 00:00:00 2001
From: Maximilien Siavelis <maximilien.siavelis@simulease.com>
Date: 周五, 05 1月 2018 09:10:37 +0800
Subject: [PATCH] make install and some cleanup

---
 src/library/api/datatypes.h |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/library/api/datatypes.h b/src/library/api/datatypes.h
index 0326fb4..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>
@@ -49,7 +50,7 @@
 } LICENSE_TYPE;
 
 typedef enum {
-	INFO, SEVERITY_WARN, SEVERITY_ERROR
+	SVRT_INFO, SVRT_WARN, SVRT_ERROR
 } SEVERITY;
 
 typedef struct {
@@ -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