summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-05-20 13:56:16 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-05-20 13:56:16 -0400
commitf9498086969d917a85452560173a0d9db3604c32 (patch)
treeaadbcc28cec94d9630eedc087f07c7129e7aed45 /build
parent17c2cff2c45dbdf7fea6fa0944afef750e1cb00f (diff)
downloadbfs-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 'build')
-rw-r--r--build/has/max-align-t.c8
-rw-r--r--build/header.mk1
2 files changed, 0 insertions, 9 deletions
diff --git a/build/has/max-align-t.c b/build/has/max-align-t.c
deleted file mode 100644
index 96165ce..0000000
--- a/build/has/max-align-t.c
+++ /dev/null
@@ -1,8 +0,0 @@
-// Copyright © Tavian Barnes <tavianator@tavianator.com>
-// SPDX-License-Identifier: 0BSD
-
-#include <stddef.h>
-
-int main(void) {
- return _Alignof(max_align_t);
-}
diff --git a/build/header.mk b/build/header.mk
index a449b77..fb8246d 100644
--- a/build/header.mk
+++ b/build/header.mk
@@ -30,7 +30,6 @@ HEADERS := \
gen/has/getmntinfo.h \
gen/has/getprogname-gnu.h \
gen/has/getprogname.h \
- gen/has/max-align-t.h \
gen/has/pipe2.h \
gen/has/posix-getdents.h \
gen/has/posix-spawn-addfchdir-np.h \