mirror of
https://github.com/DoneJS-Runtime/quickjs-done-nextgen.git
synced 2025-01-09 17:43:15 +00:00
Include <intrin.h> on Windows (#584)
Needed for the definition of _BitScanReverse and _BitScanReverse64.
This commit is contained in:
parent
a51c77efd8
commit
d79aa871d1
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue