win/MSVC: add packed_struct macro implement

Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
chao an 2023-07-13 22:45:30 +08:00 committed by Xiang Xiao
parent b7216d54ff
commit 54740b3ad2

View File

@ -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