PicoScenes API Docs
 
Loading...
Searching...
No Matches
macros.hxx
Go to the documentation of this file.
1#ifndef PACKED
2#ifdef __GNUC__
3#define PACKED( ... ) __VA_ARGS__ __attribute__((__packed__))
4#endif
5
6#ifdef _MSC_VER
7#define PACKED( ... ) __pragma( pack(push, 1) ) __VA_ARGS__ __pragma( pack(pop))
8#endif
9#endif