forked from mirror/OpenTTD
(svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators.
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user