Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support ARM macOS #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions crunch/crn_decomp.h
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,8 @@ const unsigned int cCRNHeaderMinSize = 62U;
#include <stdlib.h>
#ifdef WIN32
#include <memory.h>
#elif defined __APPLE__
#include <malloc/malloc.h>
#else
#include <malloc.h>
#endif
Expand Down Expand Up @@ -402,6 +404,8 @@ typedef uint64 ptr_bits;
#else
#ifdef __x86_64__
typedef uint64 ptr_bits;
#elif defined __APPLE__
typedef uint64 ptr_bits;
#else
typedef uint32 ptr_bits;
#endif
Expand Down