Skip to content

Commit 6775046

Browse files
authored
Merge pull request #3 from ytoi/m1mac_support
toppers#33 m1mac support
2 parents c6eb62d + 90b7eb8 commit 6775046

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/inc/std_types.h

+2
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ typedef uint32 CoreIdType;
4242
#define CAST_UINT32_TO_ADDR(uint32_data) ( (void*)((uint32)(uint32_data)) )
4343
#elif __x86_64__
4444
#define CAST_UINT32_TO_ADDR(uint32_data) ( (void*)((uint64)(uint32_data)) )
45+
#elif __arm64
46+
#define CAST_UINT32_TO_ADDR(uint32_data) ( (void*)((uint64)(uint32_data)) )
4547
#else
4648
#error "unknown arch."
4749
#endif

0 commit comments

Comments
 (0)