From cbb682e6b86e0b462cef73fdaad61e4be83b06b6 Mon Sep 17 00:00:00 2001 From: Matteo Varalta <matteo.varalta@txtgroup.com> Date: 周二, 23 4月 2019 17:07:40 +0800 Subject: [PATCH] Porting to Centos 7: xfs file system, cmake 2.8.11 in example, static linking for -lgcc_s --- src/library/license++.cpp | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/library/license++.cpp b/src/library/license++.cpp index 8f913b0..fd07af8 100644 --- a/src/library/license++.cpp +++ b/src/library/license++.cpp @@ -13,11 +13,11 @@ #include "LicenseReader.h" using namespace std; -DllExport void print_error(char out_buffer[256], LicenseInfo* licenseInfo) { +void print_error(char out_buffer[256], LicenseInfo* licenseInfo) { } -DllExport void identify_pc(IDENTIFICATION_STRATEGY pc_id_method, char chbuffer[PC_IDENTIFIER_SIZE + 1]) { +void identify_pc(IDENTIFICATION_STRATEGY pc_id_method, char chbuffer[PC_IDENTIFIER_SIZE + 1]) { } @@ -74,12 +74,12 @@ return result; } -DllExport EVENT_TYPE confirm_license(char * product, +EVENT_TYPE confirm_license(char * product, LicenseLocation licenseLocation) { return LICENSE_OK; } -DllExport EVENT_TYPE release_license(char * product, +EVENT_TYPE release_license(char * product, LicenseLocation licenseLocation) { return LICENSE_OK; } -- Gitblit v1.9.1