if CRYPTOKI_EXPORTS is not defined don't add __declspec
this messes up the windows build since we're already using libtool for the exports.
This commit is contained in:
+7
-1
@@ -86,7 +86,13 @@ extern "C" {
|
|||||||
#ifdef CRYPTOKI_EXPORTS
|
#ifdef CRYPTOKI_EXPORTS
|
||||||
#define CK_SPEC __declspec(dllexport)
|
#define CK_SPEC __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define CK_SPEC __declspec(dllimport)
|
/*
|
||||||
|
* Yubico: we're using libtool to declare exports, this
|
||||||
|
* messes up the build.
|
||||||
|
*
|
||||||
|
* #define CK_SPEC __declspec(dllimport)
|
||||||
|
*/
|
||||||
|
#define CK_SPEC
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user