13 lines
No EOL
292 B
C
13 lines
No EOL
292 B
C
#ifndef __OS3_PACKING_H
|
|
#define __OS3_PACKING_H
|
|
|
|
#ifdef __MSC_VER
|
|
#define OS_PACK_START #pragma pack(push, 1)
|
|
#define OS_PACK_MID
|
|
#define OS_PACK_END #pragma pack(pop)
|
|
#else
|
|
#define OS_PACK_START
|
|
#define OS_PACK_MID __attribute__((packed))
|
|
#define OS_PACK_END
|
|
#endif
|
|
#endif //!__OS3_PACKING_H
|