diff options
author | Benji Dial <benji@benjidial.net> | 2024-07-27 16:57:39 -0400 |
---|---|---|
committer | Benji Dial <benji@benjidial.net> | 2024-07-27 16:57:39 -0400 |
commit | fbfc078e9f44c1c1e95c9c484f1d5650bcf631b7 (patch) | |
tree | cab539c8cbbac81d895b6f8be695f3f53bf8f4d5 /patches/mintsuki-stddef.patch | |
parent | 9af5588c30c4126a2800aae1afcb0de2c373dc6c (diff) | |
download | hilbert-os-fbfc078e9f44c1c1e95c9c484f1d5650bcf631b7.tar.gz |
lots and lots of userspace stuff
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 |