diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-02-17 22:07:25 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-02-17 22:07:25 -0500 |
| commit | f05e3e27618c54e30d94eb4b3543f9f6e8d2c8df (patch) | |
| tree | 218faa4d8db3fd20f683b5d80cc0bf5e8e3faf96 /builtins/bool.c | |
| parent | 8f451d0271659ea57c4960f858ea61ea7a10598d (diff) | |
Fix up align issues
Diffstat (limited to 'builtins/bool.c')
| -rw-r--r-- | builtins/bool.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/builtins/bool.c b/builtins/bool.c index 4efb2681..fb807857 100644 --- a/builtins/bool.c +++ b/builtins/bool.c @@ -1,7 +1,6 @@ #include <gc.h> #include <gc/cord.h> -#include <stdalign.h> #include <stdbool.h> #include <stdint.h> #include <stdlib.h> @@ -29,7 +28,7 @@ public CORD Bool__as_str(const bool *b, bool colorize, const TypeInfo *type) public Bool_namespace_t Bool_type = { .type={ .size=sizeof(bool), - .align=alignof(bool), + .align=__alignof__(bool), .tag=CustomInfo, .CustomInfo={.as_str=(void*)Bool__as_str}, }, |
