diff options
Diffstat (limited to 'crypto/mem_sec.c')
-rw-r--r-- | crypto/mem_sec.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/mem_sec.c b/crypto/mem_sec.c index 8d2c161c70..d29f261ec4 100644 --- a/crypto/mem_sec.c +++ b/crypto/mem_sec.c @@ -24,8 +24,8 @@ #ifndef OPENSSL_NO_SECURE_MEMORY # if defined(_WIN32) # include <windows.h> -# if defined(WINAPI_FAMILY_PARTITION) \ - && !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) +# if defined(WINAPI_FAMILY_PARTITION) +# if !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) /* * While VirtualLock is available under the app partition (e.g. UWP), * the headers do not define the API. Define it ourselves instead. @@ -37,6 +37,7 @@ VirtualLock( _In_ LPVOID lpAddress, _In_ SIZE_T dwSize ); +# endif # endif # endif # include <stdlib.h> |