diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-05-20 13:56:16 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-05-20 13:56:16 -0400 |
commit | f9498086969d917a85452560173a0d9db3604c32 (patch) | |
tree | aadbcc28cec94d9630eedc087f07c7129e7aed45 /src/prelude.h | |
parent | 17c2cff2c45dbdf7fea6fa0944afef750e1cb00f (diff) | |
download | bfs-f9498086969d917a85452560173a0d9db3604c32.tar.xz |
prelude: Remove max_align_t polyfill
This has been fixed in Cosmopolitan.
Link: https://github.com/jart/cosmopolitan/issues/944
Diffstat (limited to 'src/prelude.h')
-rw-r--r-- | src/prelude.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/prelude.h b/src/prelude.h index 7a8478c..3521fe8 100644 --- a/src/prelude.h +++ b/src/prelude.h @@ -154,21 +154,6 @@ extern const char bfs_version[]; #endif /** - * Polyfill max_align_t if we don't already have it. - */ -#if !BFS_HAS_MAX_ALIGN_T -typedef union { -# ifdef __BIGGEST_ALIGNMENT__ - alignas(__BIGGEST_ALIGNMENT__) char c; -# else - long double ld; - long long ll; - void *ptr; -# endif -} max_align_t; -#endif - -/** * Alignment specifier that avoids false sharing. */ #define cache_align alignas(FALSE_SHARING_SIZE) |