From f9498086969d917a85452560173a0d9db3604c32 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 20 May 2024 13:56:16 -0400 Subject: prelude: Remove max_align_t polyfill This has been fixed in Cosmopolitan. Link: https://github.com/jart/cosmopolitan/issues/944 --- build/has/max-align-t.c | 8 -------- build/header.mk | 1 - 2 files changed, 9 deletions(-) delete mode 100644 build/has/max-align-t.c (limited to 'build') 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 -// SPDX-License-Identifier: 0BSD - -#include - -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 \ -- cgit v1.2.3