mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Allow using MSVC intrinsics with older versions.
This commit is contained in:
parent
8b97dc738f
commit
fb101458c5
@ -242,6 +242,8 @@ static LJ_AINLINE uint32_t lj_getu32(const void *p)
|
||||
#define LJ_FASTCALL __fastcall
|
||||
#endif
|
||||
|
||||
#pragma intrinsic(_BitScanForward)
|
||||
#pragma intrinsic(_BitScanReverse)
|
||||
unsigned char _BitScanForward(uint32_t *, unsigned long);
|
||||
unsigned char _BitScanReverse(uint32_t *, unsigned long);
|
||||
unsigned long _byteswap_ulong(unsigned long);
|
||||
|
Loading…
Reference in New Issue
Block a user