diff --git a/pal/inc/cclock.hpp b/pal/inc/cclock.hpp index fe74235a618..1269e921226 100644 --- a/pal/inc/cclock.hpp +++ b/pal/inc/cclock.hpp @@ -9,14 +9,9 @@ #ifndef CC_PAL_INC_CCLOCK_H #define CC_PAL_INC_CCLOCK_H -#if defined(_M_ARM64) -#define CCLOCK_ALIGN __declspec(align(8)) -#else -#define CCLOCK_ALIGN -#endif - -class CCLOCK_ALIGN CCLock +class CCLock { + __declspec(align(sizeof(size_t))) char mutexPtr[64]; // keep mutex implementation opaque to consumer (PAL vs non-PAL) public: