view loader/wine/pshpack4.h @ 25089:791f867d0124

Fix totally wrong (due to mess of brackets) structures size check.
author voroshil
date Tue, 20 Nov 2007 10:01:14 +0000
parents c98c9e7f3bd0
children f1b223278b20
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) */