Skip to content

Commit

Permalink
MSVC fix: include <intrin.h> for _AddressOfReturnAddress
Browse files Browse the repository at this point in the history
Fix: warning C5250: '_AddressOfReturnAddress': intrinsic function not declared
  • Loading branch information
past-due committed Feb 8, 2025
1 parent 02f06f6 commit d4e0c68
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions quickjs.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
#include <timezoneapi.h>
#endif
#endif
#if defined(_MSC_VER)
#include <intrin.h>
#endif
#include <time.h>
#include <fenv.h>
#include <math.h>
Expand Down

0 comments on commit d4e0c68

Please sign in to comment.