view loader/wine/pshpack4.h @ 29351:d58878f243ea

Replace incorrect use of strncpy by av_strlcpy. Only a real issue if inet_ntoa can actually return a string of more than 255 bytes.
author reimar
date Fri, 26 Jun 2009 13:54:22 +0000
parents a8ea87c71d18
children 32725ca88fed
line wrap: on
line source

#ifndef MPLAYER_PSHPACK_H
#define MPLAYER_PSHPACK_H 4

#if defined(__GNUC__) || defined(__SUNPRO_CC)
//#pragma pack(4)
#elif defined(__SUNPRO_C)
//#pragma pack()
#elif !defined(RC_INVOKED)
#error "4 as alignment isn't supported by the compiler"
#endif /* defined(__GNUC__) || 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 */