annotate loader/wine/pshpack2.h @ 27092:0b4d8e4d4ed7
Rename some definitions to avoid clashing with system headers, fixes:
./drivers/3dfx.h:262:1: warning: "ROP_COPY" redefined
/usr/include/linux/fb.h:311:1: warning: this is the location of the previous definition
./drivers/3dfx.h:264:1: warning: "ROP_XOR" redefined
/usr/include/linux/fb.h:312:1: warning: this is the location of the previous definition
author |
diego |
date |
Mon, 23 Jun 2008 08:47:50 +0000 |
parents |
a8ea87c71d18 |
children |
|
rev |
line source |
26045
|
1 #ifndef MPLAYER_PSHPACK_H
|
|
2 #define MPLAYER_PSHPACK_H 2
|
1
|
3
|
|
4 #if defined(__GNUC__) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
|
|
5 //#pragma pack(2)
|
|
6 #elif !defined(RC_INVOKED)
|
|
7 #error "2 as alignment isn't supported by the compiler"
|
|
8 #endif /* defined(__GNUC__) || defined(__SUNPRO_CC) ; !defined(RC_INVOKED) */
|
|
9
|
26045
|
10 #else /* MPLAYER_PSHPACK_H */
|
1
|
11 #error "Nested pushing of alignment isn't supported by the compiler"
|
26045
|
12 #endif /* MPLAYER_PSHPACK_H */
|