We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17287cd commit d9b9343Copy full SHA for d9b9343
1 file changed
wolfcrypt/src/wolfentropy.c
@@ -131,7 +131,8 @@ static WC_INLINE word64 Entropy_TimeHiRes(void)
131
132
return cnt;
133
}
134
-#elif !defined(ENTROPY_MEMUSE_THREAD) && (_POSIX_C_SOURCE >= 199309L)
+#elif !defined(ENTROPY_MEMUSE_THREAD) && defined(_POSIX_C_SOURCE) && \
135
+ (_POSIX_C_SOURCE >= 199309L)
136
/* Get the high resolution time counter.
137
*
138
* @return 64-bit time that is the nanoseconds of current time.
0 commit comments