2000-10-19 22:20:07 +02:00
|
|
|
#if defined(__WINE_PSHPACK_H3)
|
1999-04-25 14:36:53 +02:00
|
|
|
|
2000-10-19 22:20:07 +02:00
|
|
|
/* Depth > 3 */
|
|
|
|
# error "Alignment nesting > 3 is not supported"
|
1999-04-25 14:36:53 +02:00
|
|
|
|
2000-10-19 22:20:07 +02:00
|
|
|
#else
|
1999-04-25 14:36:53 +02:00
|
|
|
|
2000-10-19 22:20:07 +02:00
|
|
|
# if !defined(__WINE_PSHPACK_H)
|
|
|
|
# define __WINE_PSHPACK_H 4
|
|
|
|
/* Depth == 1 */
|
|
|
|
# elif !defined(__WINE_PSHPACK_H2)
|
|
|
|
# define __WINE_PSHPACK_H2 4
|
|
|
|
/* Depth == 2 */
|
|
|
|
# define __WINE_INTERNAL_POPPACK
|
|
|
|
# include "poppack.h"
|
|
|
|
# elif !defined(__WINE_PSHPACK_H3)
|
|
|
|
# define __WINE_PSHPACK_H3 4
|
|
|
|
/* Depth == 3 */
|
|
|
|
# define __WINE_INTERNAL_POPPACK
|
|
|
|
# include "poppack.h"
|
|
|
|
# endif
|
|
|
|
|
|
|
|
# if defined(__GNUC__) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
|
|
|
|
# pragma pack(4)
|
|
|
|
# elif !defined(RC_INVOKED)
|
|
|
|
# error "Adjusting the alignment is not supported with this compiler"
|
|
|
|
# endif
|
|
|
|
|
|
|
|
#endif
|