From d79aa871d1c6c0d3ef315c3e207d519be96e0bf9 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Tue, 8 Oct 2024 22:32:24 +0200 Subject: [PATCH] Include on Windows (#584) Needed for the definition of _BitScanReverse and _BitScanReverse64. --- tests/test_conv.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_conv.c b/tests/test_conv.c index b0678ae..d53e188 100644 --- a/tests/test_conv.c +++ b/tests/test_conv.c @@ -31,6 +31,10 @@ #include #include +#ifdef _WIN32 +#include +#endif + //#define USE_SINGLE_CASE 1 // special case single digit numbers #define USE_SPECIAL_RADIX_10 1 // special case single digit numbers #define USE_SINGLE_CASE_FAST 1 // special case single digit numbers