From fb94e8ad598af67f11471e2f1d3d6c3decbbe43c Mon Sep 17 00:00:00 2001 From: open-license-manager <rillf@maildrop.cc> Date: ćšć, 16 10æ 2014 04:24:17 +0800 Subject: [PATCH] openssl --- src/library/api/license++.h | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/library/api/license++.h b/src/library/api/license++.h index b56a0e9..13960b0 100644 --- a/src/library/api/license++.h +++ b/src/library/api/license++.h @@ -13,7 +13,9 @@ #ifdef __unix__ #define DllExport -#define MAX_PATH 1024 +#ifndef MAX_PATH + #define MAX_PATH 1024 +#endif #else #include <windows.h> #define DllExport __declspec( dllexport ) @@ -31,7 +33,7 @@ * This method calculate the pc identifier. The string has to be shown * to the user in order to calculate the license. */ -void identify_pc(IDENTIFICATION_STRATEGY pc_id_method, +DllExport void identify_pc(IDENTIFICATION_STRATEGY pc_id_method, char chbuffer[PC_IDENTIFIER_SIZE + 1]); /* * The optional parameter License contains the information the program that uses the library -- Gitblit v1.9.1