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/integers.c | |
| parent | 8f451d0271659ea57c4960f858ea61ea7a10598d (diff) | |
Fix up align issues
Diffstat (limited to 'builtins/integers.c')
| -rw-r--r-- | builtins/integers.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/builtins/integers.c b/builtins/integers.c index 13dbe31c..3784a047 100644 --- a/builtins/integers.c +++ b/builtins/integers.c @@ -1,6 +1,5 @@ #include <gc.h> #include <gc/cord.h> -#include <stdalign.h> #include <stdbool.h> #include <stdint.h> #include <stdlib.h> @@ -50,7 +49,7 @@ public KindOfInt##_namespace_t KindOfInt##_type = { \ .type={ \ .size=sizeof(c_type), \ - .align=alignof(c_type), \ + .align=__alignof__(c_type), \ .tag=CustomInfo, \ .CustomInfo={.compare=(void*)KindOfInt##__compare, .as_str=(void*)KindOfInt##__as_str}, \ }, \ |
