Skip to content

Commit

Permalink
Fix "Unknown addr size" compilation error on ARM Windows (JIT is not
Browse files Browse the repository at this point in the history
supported anyway)
  • Loading branch information
dstogov committed Jul 22, 2024
1 parent 7df967d commit 8fb33ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ir.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ extern "C" {

#ifdef _WIN32
/* TODO Handle ARM, too. */
# if defined(_M_X64)
# if defined(_M_X64) || defined(_M_ARM64)
# define __SIZEOF_SIZE_T__ 8
# elif defined(_M_IX86)
# define __SIZEOF_SIZE_T__ 4
Expand Down

0 comments on commit 8fb33ce

Please sign in to comment.