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:
parent
8d8739ace6
commit
f30187d422
|
@ -18,7 +18,12 @@
|
|||
|
||||
#include "pkcs11_library.h"
|
||||
|
||||
#ifndef WIN32
|
||||
#include <dlfcn.h>
|
||||
#else
|
||||
/* macro defined by synchapi.h that maps to CreateMutexA/W */
|
||||
#undef CreateMutex
|
||||
#endif
|
||||
|
||||
#include <library.h>
|
||||
#include <asn1/asn1.h>
|
||||
|
|
Loading…
Reference in New Issue