From 7b1950f29fa4a73a43b71ee3c1e444fa38e296f0 Mon Sep 17 00:00:00 2001 From: Gabriele Contini <gcontini@users.noreply.github.com> Date: 周六, 07 9月 2019 20:06:48 +0800 Subject: [PATCH] CentOS 7 tests --- src/library/api/datatypes.h | 15 ++++++--------- 1 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/library/api/datatypes.h b/src/library/api/datatypes.h index 4cd6126..ed30576 100644 --- a/src/library/api/datatypes.h +++ b/src/library/api/datatypes.h @@ -1,20 +1,17 @@ #ifndef DATATYPES_H_ #define DATATYPES_H_ -/* - * This include file is the public api di License++ - * You should include this file if your software don't plan to use - * the part of the library dealing with features. - * Otherwise licensepp-features.h should be included. - */ #ifdef __cplusplus extern "C" { #endif //definition of size_t #include <stdlib.h> -#ifdef __unix__ +#ifndef _MSC_VER #include <stdbool.h> +#endif + +#ifdef __unix__ #define DllExport #else #include <windows.h> @@ -25,8 +22,8 @@ #define PC_IDENTIFIER_SIZE 18 #define PROPRIETARY_DATA_SIZE 16 -#define LICENESE_INT_VERSION 100 -#define LICENSEPP_VERSION "1.0.0" +#define LICENESE_INT_VERSION 110 +#define LICENSEPP_VERSION "1.1.0" typedef enum { LICENSE_OK = 0, //OK -- Gitblit v1.9.1