From cb8c987e8a3aa63064de053b8a19c0cab67b44f0 Mon Sep 17 00:00:00 2001 From: Jan Willamowius <jan@willamowius.de> Date: 周日, 21 4月 2019 23:19:00 +0800 Subject: [PATCH] Merge pull request #1 from open-license-manager/master --- src/library/api/datatypes.h | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/library/api/datatypes.h b/src/library/api/datatypes.h index 0326fb4..899d4c1 100644 --- a/src/library/api/datatypes.h +++ b/src/library/api/datatypes.h @@ -11,7 +11,11 @@ extern "C" { #endif +//definition of size_t +#include <stdlib.h> +#ifndef _MSC_VER #include <stdbool.h> +#endif #ifdef __unix__ #define DllExport @@ -49,7 +53,7 @@ } LICENSE_TYPE; typedef enum { - INFO, SEVERITY_WARN, SEVERITY_ERROR + SVRT_INFO, SVRT_WARN, SVRT_ERROR } SEVERITY; typedef struct { @@ -61,7 +65,8 @@ typedef struct { const char *licenseFileLocation; - const char *environmentVariableName;bool openFileNearModule; + const char *environmentVariableName; + bool openFileNearModule; } LicenseLocation; typedef struct { -- Gitblit v1.9.1