view loader/wine/poppack.h @ 37086:f19959d0bbc9

Fix libmpcodecs inline asm on ICL. Author: Matt Oliver <protogonoi@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
author michael
date Fri, 02 May 2014 18:36:48 +0000
parents a8ea87c71d18
children
line wrap: on
line source

#ifdef MPLAYER_PSHPACK_H
#undef MPLAYER_PSHPACK_H

#if (defined(__GNUC__) || defined(__SUNPRO_C)) && !defined(__APPLE__)
#pragma pack()
#elif defined(__SUNPRO_CC) || defined(__APPLE__)
#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) */

#else /* MPLAYER_PSHPACK_H */
#error "Popping alignment isn't possible since no alignment has been pushed"
#endif /* MPLAYER_PSHPACK_H */