mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 13:53:58 +00:00
34 lines
804 B
C
34 lines
804 B
C
#if defined(__WINE_PSHPACK_H3)
|
|
|
|
/* Depth > 3 */
|
|
# error "Alignment nesting > 3 is not supported"
|
|
|
|
#else
|
|
|
|
# if !defined(__WINE_PSHPACK_H)
|
|
# define __WINE_PSHPACK_H 1
|
|
/* Depth == 1 */
|
|
# elif !defined(__WINE_PSHPACK_H2)
|
|
# define __WINE_PSHPACK_H2 1
|
|
/* Depth == 2 */
|
|
# define __WINE_INTERNAL_POPPACK
|
|
# include "poppack.h"
|
|
# elif !defined(__WINE_PSHPACK_H3)
|
|
# define __WINE_PSHPACK_H3 1
|
|
/* Depth == 3 */
|
|
# define __WINE_INTERNAL_POPPACK
|
|
# include "poppack.h"
|
|
# endif
|
|
|
|
# if _MSC_VER >= 800
|
|
# pragma warning(disable:4103)
|
|
# endif
|
|
|
|
# if defined(__GNUC__) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) || defined(_MSC_VER)
|
|
# pragma pack(1)
|
|
# elif !defined(RC_INVOKED)
|
|
# error "Adjusting the alignment is not supported with this compiler"
|
|
# endif
|
|
|
|
#endif
|