view loader/wine/pshpack1.h @ 24963:0a733c2c577e

Fix possible null-pointer-dereference in stream_fill_buffer().
author cehoyos
date Thu, 08 Nov 2007 23:07:19 +0000
parents c98c9e7f3bd0
children f1b223278b20
line wrap: on
line source

#ifndef WINE_PSHPACK_H
#define WINE_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 /* !defined(WINE_PSHPACK_H) */
#error "Nested pushing of alignment isn't supported by the compiler"
#endif /* !defined(WINE_PSHPACK_H) */