Skip to content

Commit 5249f3d

Browse files
Fix futex_fatal_error -- issue #6931 (#6932)
1 parent c2d97aa commit 5249f3d

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

pal/inc/cclock.hpp

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,9 @@
99
#ifndef CC_PAL_INC_CCLOCK_H
1010
#define CC_PAL_INC_CCLOCK_H
1111

12-
#if defined(_M_ARM64)
13-
#define CCLOCK_ALIGN __declspec(align(8))
14-
#else
15-
#define CCLOCK_ALIGN
16-
#endif
17-
18-
class CCLOCK_ALIGN CCLock
12+
class CCLock
1913
{
14+
__declspec(align(sizeof(size_t)))
2015
char mutexPtr[64]; // keep mutex implementation opaque to consumer (PAL vs non-PAL)
2116

2217
public:

0 commit comments

Comments
 (0)