diff options
Diffstat (limited to 'src/stdafx.h')
-rw-r--r-- | src/stdafx.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stdafx.h b/src/stdafx.h index 76818d93f..9b48a1d67 100644 --- a/src/stdafx.h +++ b/src/stdafx.h @@ -296,9 +296,9 @@ assert_compile(sizeof(uint8) == 1); #define endof(x) (&x[lengthof(x)]) #define lastof(x) (&x[lengthof(x) - 1]) -#define cpp_offsetof(s,m) (((size_t)&reinterpret_cast<const volatile char&>((((s*)(char*)8)->m))) - 8) +#define cpp_offsetof(s, m) (((size_t)&reinterpret_cast<const volatile char&>((((s*)(char*)8)->m))) - 8) #if !defined(offsetof) - #define offsetof(s,m) cpp_offsetof(s, m) + #define offsetof(s, m) cpp_offsetof(s, m) #endif /* offsetof */ |