Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add alignof wrapper for old compilers.
Older versions of MSVC don't support C++11's alignof(), but they do support __alignof() which functions identically. Likewise, XL C/C++ versions that predate xlclang/xlclang++ only support __alignof__() (and optionally __alignof()). Signed-off-by: Younes Manton <ymanton@ca.ibm.com>
- Loading branch information