Y
Hacker News
new
|
ask
|
show
|
jobs
by
mananaysiempre
537 days ago
It’s MS(V)C syntax, now supported by GCC and Clang as well:
#pragma pack(push) #pragma pack(1) /* ... */ #pragma pack(pop)
The first two lines can also be condensed into
#pragma pack(push, 1)