OpenSC.msi: fixed compilation with VS2015
WiX 3.10 uses `__vsnprintf` which is deprecated since VS2015
This commit is contained in:
parent
221165d763
commit
ed504cb22f
|
@ -41,6 +41,12 @@
|
||||||
// WiX Header Files:
|
// WiX Header Files:
|
||||||
#include <wcautil.h>
|
#include <wcautil.h>
|
||||||
|
|
||||||
|
#if defined(_MSC_VER) && (_MSC_VER >= 1900)
|
||||||
|
// only for VS 2015 or later
|
||||||
|
// WiX 3.10 was built for older versions of VS and needs this for compatibility
|
||||||
|
#pragma comment(lib, "legacy_stdio_definitions.lib")
|
||||||
|
#endif
|
||||||
|
|
||||||
#define X86onX64_SC_DATABASE TEXT("SOFTWARE\\Wow6432Node\\Microsoft\\Cryptography\\Calais\\SmartCards")
|
#define X86onX64_SC_DATABASE TEXT("SOFTWARE\\Wow6432Node\\Microsoft\\Cryptography\\Calais\\SmartCards")
|
||||||
#define SC_DATABASE TEXT("SOFTWARE\\Microsoft\\Cryptography\\Calais\\SmartCards")
|
#define SC_DATABASE TEXT("SOFTWARE\\Microsoft\\Cryptography\\Calais\\SmartCards")
|
||||||
#define BASE_CSP TEXT("OpenSC CSP")
|
#define BASE_CSP TEXT("OpenSC CSP")
|
||||||
|
|
Loading…
Reference in New Issue