commit 0a7cf69facb48bb0e3a46a8f09db0f78c3902145 parent 8d81075fdf1bac76d1326dbb297f8fbf4d001575 Author: Michael Savage <mikejsavage@gmail.com> Date: Sat Mar 4 14:24:55 +0200 Fix relacy build Diffstat:
intrinsics.h | | | 2 | ++ |
diff --git a/intrinsics.h b/intrinsics.h @@ -174,6 +174,8 @@ template< typename T > inline bool is_aligned( const T * ptr ) { #if COMPILER_MSVC return checked_cast< size_t >( ptr ) % __alignof( T ) == 0; +#elif PLATFORM_RELACY + return checked_cast< size_t >( ptr ) % __alignof__( T ) == 0; #else return checked_cast< size_t >( ptr ) % alignof( T ) == 0; #endif