Skip to content

Commit

Permalink
Fix _packed macro declaration
Browse files Browse the repository at this point in the history
It ended up being a no-op.
  • Loading branch information
gnosek committed Oct 5, 2018
1 parent 91576de commit 0f722a0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions driver/ppm_events_public.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,9 @@ or GPL2.txt for full copies of the license.
*/

#if defined(_WIN64) || defined(WIN64) || defined(_WIN32) || defined(WIN32)
#define _packed
__pragma(pack(push, 1));
__pragma(pack(pop))
#define _packed __pragma(pack(push, 1)); __pragma(pack(pop))
#else
#define _packed
__attribute__((packed))
#define _packed __attribute__((packed))
#endif

/*
Expand Down

0 comments on commit 0f722a0

Please sign in to comment.