Include <intrin.h> on Windows (#584)

Needed for the definition of _BitScanReverse and _BitScanReverse64.
This commit is contained in:
Ben Noordhuis 2024-10-08 22:32:24 +02:00 committed by GitHub
parent a51c77efd8
commit d79aa871d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,6 +31,10 @@
#include <string.h> #include <string.h>
#include <time.h> #include <time.h>
#ifdef _WIN32
#include <intrin.h>
#endif
//#define USE_SINGLE_CASE 1 // special case single digit numbers //#define USE_SINGLE_CASE 1 // special case single digit numbers
#define USE_SPECIAL_RADIX_10 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 #define USE_SINGLE_CASE_FAST 1 // special case single digit numbers