Solaris C/C++ compile fix.
[wine] / include / pshpack2.h
1 #ifndef __WINE_PSHPACK_H
2 #define __WINE_PSHPACK_H 2
3
4 #if defined(__GNUC__) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
5 #pragma pack(2)
6 #elif !defined(RC_INVOKED)
7 #error "2 as alignment isn't supported by the compiler"
8 #endif /* defined(__GNUC__) || defined(__SUNPRO_CC) ; !defined(RC_INVOKED) */
9
10 #else /* !defined(__WINE_PSHPACK_H) */
11 #error "Nested pushing of alignment isn't supported by the compiler"
12 #endif /* !defined(__WINE_PSHPACK_H) */