hcrypto: Fix Win 32 cpp checks

The correct test for a windows build is if defined(_WIN32), not just
if _WIN32. Fix a few places in the build which do the wrong thing, as
it gives compiler warnings.
This commit is contained in:
Simon Wilkinson
2016-11-09 15:35:05 +00:00
parent ac9109ff75
commit 67ac841f8f
3 changed files with 3 additions and 3 deletions

View File

@@ -44,7 +44,7 @@
#include <evp.h>
#include <evp-hcrypto.h>
#include <evp-cc.h>
#if _WIN32
#if defined(_WIN32)
#include <evp-w32.h>
#endif
#include <evp-pkcs11.h>

View File

@@ -39,7 +39,7 @@
#include <evp.h>
#include <evp-hcrypto.h>
#include <evp-cc.h>
#if _WIN32
#if defined(_WIN32)
#include <evp-w32.h>
#endif
#include <evp-pkcs11.h>

View File

@@ -41,7 +41,7 @@
#include <evp.h>
#include <evp-hcrypto.h>
#include <evp-cc.h>
#if _WIN32
#if defined(_WIN32)
#include <evp-w32.h>
#endif
#include <evp-pkcs11.h>