Avoid list corruption when linking window with HWND_BOTTOM (thanks to
[wine/multimedia.git] / include / pshpack1.h
blob1771c72b52884caea25a75a5cda57b6ef2b07d0a
1 #if defined(__WINE_PSHPACK_H3)
3 /* Depth > 3 */
4 # error "Alignment nesting > 3 is not supported"
6 #else
8 # if !defined(__WINE_PSHPACK_H)
9 # define __WINE_PSHPACK_H 1
10 /* Depth == 1 */
11 # elif !defined(__WINE_PSHPACK_H2)
12 # define __WINE_PSHPACK_H2 1
13 /* Depth == 2 */
14 # define __WINE_INTERNAL_POPPACK
15 # include "poppack.h"
16 # elif !defined(__WINE_PSHPACK_H3)
17 # define __WINE_PSHPACK_H3 1
18 /* Depth == 3 */
19 # define __WINE_INTERNAL_POPPACK
20 # include "poppack.h"
21 # endif
23 # if defined(__GNUC__) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
24 # pragma pack(1)
25 # elif !defined(RC_INVOKED)
26 # error "Adjusting the alignment is not supported with this compiler"
27 # endif
29 #endif