Skip to content

Commit

Permalink
win/MSVC: add packed_struct macro implement
Browse files Browse the repository at this point in the history
Signed-off-by: chao an <[email protected]>
  • Loading branch information
anchao committed Jul 13, 2023
1 parent 57bf3e1 commit 732b286
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/nuttx/compiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -880,8 +880,8 @@
# define aligned_data(n)
# define locate_code(n)
# define locate_data(n)
# define begin_packed_struct
# define end_packed_struct
# define begin_packed_struct __pragma(pack(push, 1))
# define end_packed_struct __pragma(pack(pop))
# define reentrant_function
# define naked_function
# define always_inline_function
Expand Down

0 comments on commit 732b286

Please sign in to comment.