Skip to content

Commit 0f722a0

Browse files
committed
Fix _packed macro declaration
It ended up being a no-op.
1 parent 91576de commit 0f722a0

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

driver/ppm_events_public.h

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,9 @@ or GPL2.txt for full copies of the license.
2525
*/
2626

2727
#if defined(_WIN64) || defined(WIN64) || defined(_WIN32) || defined(WIN32)
28-
#define _packed
29-
__pragma(pack(push, 1));
30-
__pragma(pack(pop))
28+
#define _packed __pragma(pack(push, 1)); __pragma(pack(pop))
3129
#else
32-
#define _packed
33-
__attribute__((packed))
30+
#define _packed __attribute__((packed))
3431
#endif
3532

3633
/*

0 commit comments

Comments
 (0)