diff options
Diffstat (limited to 'patches/mintsuki-stddef.patch')
-rw-r--r-- | patches/mintsuki-stddef.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/mintsuki-stddef.patch b/patches/mintsuki-stddef.patch new file mode 100644 index 0000000..4f98cc2 --- /dev/null +++ b/patches/mintsuki-stddef.patch @@ -0,0 +1,14 @@ +diff --git a/stddef.h b/stddef.h +index 376eb75..fb1e99d 100644 +--- a/stddef.h ++++ b/stddef.h +@@ -50,4 +50,9 @@ typedef decltype(nullptr) nullptr_t; + # define unreachable() __builtin_unreachable() + #endif + ++typedef struct { ++ long long ll __attribute__((__aligned__(__alignof__(long long)))); ++ long double ld __attribute__((__aligned__(__alignof__(long double)))); ++} max_align_t; ++ + #endif |