view loader/wine/pshpack1.h @ 24472:9341d242f432

Reduce code duplication
author reimar
date Fri, 14 Sep 2007 18:58:32 +0000
parents c98c9e7f3bd0
children f1b223278b20
line wrap: on
line source

#ifndef WINE_PSHPACK_H
#define WINE_PSHPACK_H 1

#if defined(__GNUC__) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
//#pragma pack(1)
#elif !defined(RC_INVOKED)
#error "1 as alignment isn't supported by the compiler"
#endif /* defined(__GNUC__) || defined(__SUNPRO_C) || 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) */