Skip to content

Commit

Permalink
Support arm64 on macOS (#778)
Browse files Browse the repository at this point in the history
Fixes #674 

Add support for arm64 on macOS

Signed-off-by: The MathWorks, Inc. <jdicleme@mathworks.com>

Signed-off-by: The MathWorks, Inc. <jdicleme@mathworks.com>
  • Loading branch information
jeffdiclemente committed Jan 12, 2023
1 parent e084394 commit 749fb52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions util/include/cppmicroservices/util/BundleMachOFile.h
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,8 @@ namespace cppmicroservices
ident[1] = CPU_TYPE_X86;
# elif defined(__arm__) || defined(_M_ARM)
ident[1] = CPU_TYPE_ARM;
# elif defined(__arm64__)
ident[1] = CPU_TYPE_ARM64;
# endif

return ident;
Expand Down

0 comments on commit 749fb52

Please sign in to comment.