3 ms·
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 als
by mananaysiempre 2y 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)