summaryrefslogtreecommitdiffstats
path: root/src/config.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-11-10 22:22:01 -0500
committerTavian Barnes <tavianator@tavianator.com>2023-11-10 22:22:01 -0500
commit640fa83406bb8c08d971be68b32b7e222e92e286 (patch)
treed6151f9dea6ffd02f68acca03a2696b0dd5bc712 /src/config.h
parente44e07a6bff0dd21a3fb08f28cd161e03360328b (diff)
downloadbfs-640fa83406bb8c08d971be68b32b7e222e92e286.tar.xz
Initial support for Cosmopolitan Libc
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index 821e4a9..a474fb3 100644
--- a/src/config.h
+++ b/src/config.h
@@ -179,6 +179,10 @@
*/
#define cache_align alignas(FALSE_SHARING_SIZE)
+#if __COSMOPOLITAN__
+typedef long double max_align_t;
+#endif
+
// Wrappers for attributes
/**