Closed erikjanss closed 2 years ago
Yeah, we should probably use defines that are based on the compiler name, rather than the platform name, for library differences, although platform differences should obviously be kept in.
We don't really have time to work on that though, so if you have patches, and they're sensible, that's definitely welcome.
I'll create a PR for this ...
PR created, using this code a working pkcs11 plugin can be compiled with mingw (with manual compilation)
PR accepted. Thank you Erik
in :
cardcomm/pkcs11/src/common/util.cpp line 66
'#ifdef WIN32 ' is used to handle a difference between the MSVC standard library and the GCC standard library.
this prevents the use of the GCC standard library on windows, and prevents compilation of the pkcs11 plugin with mingw