2008-02-23 14:50:55 +00:00
|
|
|
#ifdef MPLAYER_PSHPACK_H
|
|
|
|
#undef MPLAYER_PSHPACK_H
|
2001-02-24 20:28:24 +00:00
|
|
|
|
2006-11-27 02:44:06 +00:00
|
|
|
#if (defined(__GNUC__) || defined(__SUNPRO_C)) && !defined(__APPLE__)
|
2001-02-24 20:28:24 +00:00
|
|
|
#pragma pack()
|
2006-11-27 02:44:06 +00:00
|
|
|
#elif defined(__SUNPRO_CC) || defined(__APPLE__)
|
2001-02-24 20:28:24 +00:00
|
|
|
#warning "Assumes default alignment is 4"
|
|
|
|
#pragma pack(4)
|
|
|
|
#elif !defined(RC_INVOKED)
|
|
|
|
#error "Restoration of the previous alignment isn't supported by the compiler"
|
|
|
|
#endif /* defined(__GNUC__) || defined(__SUNPRO_C) ; !defined(RC_INVOKED) */
|
|
|
|
|
2008-02-23 14:50:55 +00:00
|
|
|
#else /* MPLAYER_PSHPACK_H */
|
2001-02-24 20:28:24 +00:00
|
|
|
#error "Popping alignment isn't possible since no alignment has been pushed"
|
2008-02-23 14:50:55 +00:00
|
|
|
#endif /* MPLAYER_PSHPACK_H */
|