mirror of https://github.com/mpv-player/mpv
15 lines
454 B
C
15 lines
454 B
C
#ifndef MPLAYER_PSHPACK_H
|
|
#define MPLAYER_PSHPACK_H 4
|
|
|
|
#if defined(__GNUC__) || defined(__SUNPRO_CC)
|
|
//#pragma pack(4)
|
|
#elif defined(__SUNPRO_C)
|
|
//#pragma pack()
|
|
#elif !defined(RC_INVOKED)
|
|
#error "4 as alignment isn't supported by the compiler"
|
|
#endif /* defined(__GNUC__) || defined(__SUNPRO_CC) ; !defined(RC_INVOKED) */
|
|
|
|
#else /* MPLAYER_PSHPACK_H */
|
|
#error "Nested pushing of alignment isn't supported by the compiler"
|
|
#endif /* MPLAYER_PSHPACK_H */
|