aboutsummaryrefslogtreecommitdiff
path: root/tests/test.c
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-03-01 14:30:36 -0500
committerLibravatar vnugent <public@vaughnnugent.com>2024-03-01 14:30:36 -0500
commit9de5a214c66adea0ef2d0bac63c59449de202a88 (patch)
treea4981e84f10dc1590d854c077aadab024f5d144c /tests/test.c
parentb917b761120ed684af28d0707673ffadcf14b8fe (diff)
perf: avoid nc_key struct copy, cast and verify instead
Diffstat (limited to 'tests/test.c')
-rw-r--r--tests/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test.c b/tests/test.c
index 0c35c21..326d91f 100644
--- a/tests/test.c
+++ b/tests/test.c
@@ -27,7 +27,7 @@
#include <mbedtls/sha256.h>
#include <mbedtls/platform_util.h>
-#if defined(_MSC_VER) || defined(WIN32) || defined(_WIN32)
+#ifdef _NC_IS_WINDOWS
#define IS_WINDOWS
#endif