summaryrefslogtreecommitdiffhomepage
path: root/lib/struct.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-11-01 19:08:16 +0100
committerJo-Philipp Wich <jo@mein.io>2021-11-01 19:09:29 +0100
commitdcb6ffdb2acab40702bc3519f74617d7846b5625 (patch)
tree1bcac15b4b0a7217fae86d35e1742674574de3fb /lib/struct.c
parent77261132425e60869a3c054a16ed634cbd347850 (diff)
struct: fix PowerPC specific compiler pragma name
The "align" pragma was accidentally renamed while refactoring the original module code. Fixes: 402f603 ("lib: introduce struct library") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'lib/struct.c')
-rw-r--r--lib/struct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/struct.c b/lib/struct.c
index 4985e2a..3a74bb2 100644
--- a/lib/struct.c
+++ b/lib/struct.c
@@ -118,7 +118,7 @@ typedef struct { char c; long long x; } s_long_long;
#define LONG_LONG_ALIGN (sizeof(s_long_long) - sizeof(long long))
#ifdef __powerc
-#pragma options align_for_entry=reset
+#pragma options align=reset
#endif