pkcs11: Fix build on Windows
Windows provides CreateMutexA/W with an alias called CreateMutex that selects one of the other two based on the UNICODE constant.
This commit is contained in:
committed by
Tobias Brunner
parent
8d8739ace6
commit
f30187d422
@@ -18,7 +18,12 @@
|
|||||||
|
|
||||||
#include "pkcs11_library.h"
|
#include "pkcs11_library.h"
|
||||||
|
|
||||||
|
#ifndef WIN32
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
|
#else
|
||||||
|
/* macro defined by synchapi.h that maps to CreateMutexA/W */
|
||||||
|
#undef CreateMutex
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <library.h>
|
#include <library.h>
|
||||||
#include <asn1/asn1.h>
|
#include <asn1/asn1.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user