[LibFAT] Fix compilation under MSVC [Host/mbrCopy] Fix compilation under MSVC
13 lines
No EOL
295 B
C
13 lines
No EOL
295 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
|