Skip to content

Commit

Permalink
Add missing ARM64 conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
ghaberek committed Aug 31, 2024
1 parent 6ffcbf0 commit dbbd22c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion include/std/fenv.e
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public constant FE_INEXACT = 'e',
FE_INVALID = 'i',
FE_ALL_EXCEPT = "eiouz"

ifdef ARM then
ifdef ARM or ARM64 then
type enum c_fe by *2
C_FE_INVALID = 1,
C_FE_DIVBYZERO = 2,
Expand Down
2 changes: 2 additions & 0 deletions source/be_machine.c
Original file line number Diff line number Diff line change
Expand Up @@ -3399,6 +3399,8 @@ object machine(object opcode, object x)
s1_ptr s = NewS1(2);
#if (__ia64__) || (_IA64) || (__IA64__) || (__amd64__)
s->base[1] = NewString("X86_64");
#elif __aarch64__
s->base[1] = NewString("ARM64");
#elif __i386__
s->base[1] = NewString("X86");
#elif __arm__
Expand Down

0 comments on commit dbbd22c

Please sign in to comment.