view loader/wine/pshpack4.h @ 24340:df689b37871f

Fix compilation after FFmpeg AUDIO_(DE)MUXER split The FFmpeg build system split AUDIO_(DE)MUXER into two parts: AUDIO_BEOS_(DE)MUXER and OSS_(DE)MUXER. cehoyos's earlier fix only changed the code from AUDIO_(DE)MUXER to AUDIO_BEOS_(DE)MUXER ignoring the other half of the split. Fix it to also disable OSS_(DE)MUXER.
author uau
date Fri, 07 Sep 2007 18:57:45 +0000
parents 3b5f5d1c5041
children c98c9e7f3bd0
line wrap: on
line source

#ifndef __WINE_PSHPACK_H
#define __WINE_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 /* !defined(__WINE_PSHPACK_H) */
#error "Nested pushing of alignment isn't supported by the compiler"
#endif /* !defined(__WINE_PSHPACK_H) */