Skip to content

Commit 7382554

Browse files
committed
Add fix for test on windows.
1 parent b90e2d4 commit 7382554

File tree

1 file changed

+2
-0
lines changed
  • src/test/run-make/extern-fn-with-packed-struct

1 file changed

+2
-0
lines changed

src/test/run-make/extern-fn-with-packed-struct/test.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Pragma needed cause of gcc bug on windows: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52991
2+
#pragma pack(1)
13
struct __attribute__((packed)) Foo {
24
char a;
35
short b;

0 commit comments

Comments
 (0)