|
|
@@ -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:
|