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/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