view loader/wine/pshpack2.h @ 25674:b13f792efe7b

Use a transform_color function to reduce code duplication
author reimar
date Sat, 12 Jan 2008 16:30:41 +0000
parents f1b223278b20
children a8ea87c71d18
line wrap: on
line source

#ifndef WINE_PSHPACK_H
#define WINE_PSHPACK_H 2

#if defined(__GNUC__) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
//#pragma pack(2)
#elif !defined(RC_INVOKED)
#error "2 as alignment isn't supported by the compiler"
#endif /* defined(__GNUC__) || defined(__SUNPRO_CC) ; !defined(RC_INVOKED) */

#else /* WINE_PSHPACK_H */
#error "Nested pushing of alignment isn't supported by the compiler"
#endif /* WINE_PSHPACK_H */