Skip to content

Commit

Permalink
struct: fix PowerPC specific compiler pragma name
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
jow- committed Nov 1, 2021
1 parent 7726113 commit dcb6ffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/struct.c
Expand Up @@ -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


Expand Down

0 comments on commit dcb6ffd

Please sign in to comment.