Skip to content

Commit

Permalink
Add aarch64-apple-darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Shadle committed Mar 2, 2023
1 parent 33e5eb7 commit 720c8a5
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions physx/source/physxextensions/src/serialization/SnSerialUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ using namespace physx;
namespace
{

#define SN_NUM_BINARY_PLATFORMS 9
#define SN_NUM_BINARY_PLATFORMS 10
const PxU32 sBinaryPlatformTags[SN_NUM_BINARY_PLATFORMS] =
{
PX_MAKE_FOURCC('W','_','3','2'),
Expand All @@ -49,7 +49,8 @@ const PxU32 sBinaryPlatformTags[SN_NUM_BINARY_PLATFORMS] =
PX_MAKE_FOURCC('M','_','6','4'),
PX_MAKE_FOURCC('N','X','3','2'),
PX_MAKE_FOURCC('N','X','6','4'),
PX_MAKE_FOURCC('L','A','6','4')
PX_MAKE_FOURCC('L','A','6','4'),
PX_MAKE_FOURCC('M','A','6','4'),
};

const char* sBinaryPlatformNames[SN_NUM_BINARY_PLATFORMS] =
Expand All @@ -62,7 +63,8 @@ const char* sBinaryPlatformNames[SN_NUM_BINARY_PLATFORMS] =
"mac64",
"switch32",
"switch64",
"linuxaarch64"
"linuxaarch64",
"macaarch64",
};

}
Expand All @@ -89,6 +91,8 @@ PxU32 getBinaryPlatformTag()
return sBinaryPlatformTags[7];
#elif PX_LINUX && PX_A64
return sBinaryPlatformTags[8];
#elif PX_OSX && PX_A64
return sBinaryPlatformTags[9];
#else
#error Unknown binary platform
#endif
Expand Down

0 comments on commit 720c8a5

Please sign in to comment.