Mercurial > mplayer.hg
view loader/wine/pshpack1.h @ 29784:a71d9cd6f01f
Add cast to signed for 64 bit check, since according to an FFmpeg bug report
some compilers (llvm?) do not fail when arrays larger than the maximum
addressable size are declared but instead just silently generate broken code.
author | reimar |
---|---|
date | Thu, 05 Nov 2009 19:05:42 +0000 |
parents | a8ea87c71d18 |
children | 32725ca88fed |
line wrap: on
line source
#ifndef MPLAYER_PSHPACK_H #define MPLAYER_PSHPACK_H 1 #if defined(__GNUC__) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) //#pragma pack(1) #elif !defined(RC_INVOKED) #error "1 as alignment isn't supported by the compiler" #endif /* defined(__GNUC__) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) ; !defined(RC_INVOKED) */ #else /* MPLAYER_PSHPACK_H */ #error "Nested pushing of alignment isn't supported by the compiler" #endif /* MPLAYER_PSHPACK_H */