view loader/wine/pshpack2.h @ 25552:21f17f58f5bc

Add a comment that explains why this header has no multiple inclusion guards.
author diego
date Tue, 01 Jan 2008 21:20:06 +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 */