summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2015-11-18 05:33:38 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2015-11-18 05:33:38 +0000
commit4c91e387a7e126a1f3c9706df4f2c65f350859b0 (patch)
tree38192affcdfcd596d5776b03c10549882d47c415 /include
parentfd8bd75f4e69928a970b93960025fa22485eb9ec (diff)
c++abi: use __builtin_offsetof instead of offsetof
Use `__builtin_offsetof` in place of `offsetof`. Certain environments provide a macro definition of `offsetof` which may end up causing issues. This was observed on Windows. Use `__builtin_offsetof` to ensure correct evaluation everywhere. NFC. git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@253435 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions