Mercurial > mplayer.hg
view loader/wine/pshpack2.h @ 25327:a7b716b53e9f
Replace SYS_DARWIN conditional directive around gcc macros by __APPLE_CC__.
The macro definition depends on compiler capabilities, not OS features.
author | diego |
---|---|
date | Tue, 11 Dec 2007 20:07:18 +0000 |
parents | c98c9e7f3bd0 |
children | f1b223278b20 |
line wrap: on
line source
#ifndef WINE_PSHPACK_H #define WINE_PSHPACK_H 2 #if defined(__GNUC__) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) //#pragma pack(2) #elif !defined(RC_INVOKED) #error "2 as alignment isn't supported by the compiler" #endif /* defined(__GNUC__) || defined(__SUNPRO_CC) ; !defined(RC_INVOKED) */ #else /* !defined(WINE_PSHPACK_H) */ #error "Nested pushing of alignment isn't supported by the compiler" #endif /* !defined(WINE_PSHPACK_H) */