Skip to content

Commit

Permalink
Avoid unused function warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
torben-hansen committed Nov 8, 2024
1 parent 7332122 commit 71cff8d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion third_party/jitterentropy/arch/jitterentropy-base-windows.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,17 @@ typedef int64_t ssize_t;

#if defined(AWSLC)
#include <openssl/crypto.h>
#define JITTER_ENTROPY_UNUSED OPENSSL_UNUSED
#else
#define JITTER_ENTROPY_UNUSED
#endif

#if defined(_M_ARM) || defined(_M_ARM64)
#include <profileapi.h>
#include <windows.h>
#endif

static void jent_get_nstime(uint64_t *out)
JITTER_ENTROPY_UNUSED static void jent_get_nstime(uint64_t *out)
{
#if defined(_M_ARM) || defined(_M_ARM64)

Expand Down

0 comments on commit 71cff8d

Please sign in to comment.