Skip to content

Commit 7206330

Browse files
past-duesaghul
authored andcommitted
MSVC fix: include <intrin.h> for _AddressOfReturnAddress
Fix: warning C5250: '_AddressOfReturnAddress': intrinsic function not declared
1 parent 02f06f6 commit 7206330

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

quickjs.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,12 @@
3333
#if !defined(_MSC_VER)
3434
#include <sys/time.h>
3535
#if defined(_WIN32)
36-
#include <intrin.h>
3736
#include <timezoneapi.h>
3837
#endif
3938
#endif
39+
#if defined(_WIN32)
40+
#include <intrin.h>
41+
#endif
4042
#include <time.h>
4143
#include <fenv.h>
4244
#include <math.h>

0 commit comments

Comments
 (0)