From 2174014349c5a60a224e1c941812ceb10ea1ce0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Mon, 7 Apr 2025 18:31:25 +0200 Subject: [PATCH] wasi-libc: Remove pointless alltypes.h.in file. --- .../musl/arch/wasm32/bits/alltypes.h.in | 58 ------------------- 1 file changed, 58 deletions(-) delete mode 100644 lib/libc/wasi/libc-top-half/musl/arch/wasm32/bits/alltypes.h.in diff --git a/lib/libc/wasi/libc-top-half/musl/arch/wasm32/bits/alltypes.h.in b/lib/libc/wasi/libc-top-half/musl/arch/wasm32/bits/alltypes.h.in deleted file mode 100644 index 5dcfc9abb7..0000000000 --- a/lib/libc/wasi/libc-top-half/musl/arch/wasm32/bits/alltypes.h.in +++ /dev/null @@ -1,58 +0,0 @@ -#define _Addr long -#define _Int64 long long -#define _Reg long long - -#define __BYTE_ORDER __BYTE_ORDER__ - -#define __LONG_MAX __LONG_MAX__ - -/* - * Rather than define everything ourselves here in the musl layer, for - * WASI, reference the definitions in the lower layers. - */ - -#if defined(__NEED_wchar_t) && !defined(__DEFINED_wchar_t) -#define __need_wchar_t -#include -#define __DEFINED_wchar_t -#endif - -#if defined(__NEED_wint_t) && !defined(__DEFINED_wint_t) -#define __need_wint_t -#include -#define __DEFINED_wint_t -#endif - -TYPEDEF float float_t; -TYPEDEF double double_t; - -#if defined(__NEED_max_align_t) && !defined(__DEFINED_max_align_t) -#define __need_max_align_t -#include -#define __DEFINED_max_align_t -#endif - -#if defined(__NEED_time_t) && !defined(__DEFINED_time_t) -#include <__typedef_time_t.h> -#define __DEFINED_time_t -#endif - -#if defined(__NEED_suseconds_t) && !defined(__DEFINED_suseconds_t) -#include <__typedef_suseconds_t.h> -#define __DEFINED_suseconds_t -#endif - -#if defined(__NEED_clockid_t) && !defined(__DEFINED_clockid_t) -#include <__typedef_clockid_t.h> -#define __DEFINED_clockid_t -#endif - -#if defined(__NEED_sigset_t) && !defined(__DEFINED_sigset_t) -#include <__typedef_sigset_t.h> -#define __DEFINED_sigset_t -#endif - -#if defined(__NEED_clock_t) && !defined(__DEFINED_clock_t) -#include <__typedef_clock_t.h> -#define __DEFINED_clock_t -#endif