view loader/wine/pshpack4.h @ 30227:052c823850f0

FFmpeg uses ifdef in Makefiles for CONFIG_MPEGAUDIO_HP and CONFIG_HARDCODED_TABLES. Change the config.mak generation to take that into account and not generate a definition for these if the features are disabled.
author reimar
date Sun, 10 Jan 2010 20:32:19 +0000
parents a8ea87c71d18
children 32725ca88fed
line wrap: on
line source

#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 */