mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 07:26:20 +00:00
[UCRT] Fix definition of offsetof for clang-cl
This commit is contained in:
parent
2eb3149565
commit
42e9c80279
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ _CRT_BEGIN_C_HEADER
|
|||
|
||||
|
||||
|
||||
#if defined _MSC_VER && !defined _CRT_USE_BUILTIN_OFFSETOF
|
||||
#if defined _MSC_VER && !defined __clang__ && !defined _CRT_USE_BUILTIN_OFFSETOF
|
||||
#ifdef __cplusplus
|
||||
#define offsetof(s,m) ((::size_t)&reinterpret_cast<char const volatile&>((((s*)0)->m)))
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue