view loader/wine/pshpack1.h @ 29799:8867109cf6f6

Split assignment from error value check to avoid overcomplicated if () condition.
author reimar
date Fri, 06 Nov 2009 16:10:19 +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 */