Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
[wine/multimedia.git] / include / pshpack4.h
blobbc66f9fb399a6ededc06c9847c1cc1c782111082
1 #ifndef __WINE_PSHPACK_H
2 #define __WINE_PSHPACK_H 4
4 #if defined(__GNUC__) || defined(__SUNPRO_CC)
5 #pragma pack(4)
6 #elif defined(__SUNPRO_C)
7 #pragma pack()
8 #elif !defined(RC_INVOKED)
9 #error "4 as alignment isn't supported by the compiler"
10 #endif /* defined(__GNUC__) || defined(__SUNPRO_CC) ; !defined(RC_INVOKED) */
12 #else /* !defined(__WINE_PSHPACK_H) */
13 #error "Nested pushing of alignment isn't supported by the compiler"
14 #endif /* !defined(__WINE_PSHPACK_H) */