annotate loader/wine/pshpack4.h @ 19150:8f2b737e2a70
my_write() must return the bytes written
author |
nicodvb |
date |
Sat, 22 Jul 2006 10:07:04 +0000 |
parents |
3b5f5d1c5041 |
children |
c98c9e7f3bd0 |
rev |
line source |
1
|
1 #ifndef __WINE_PSHPACK_H
|
|
2 #define __WINE_PSHPACK_H 4
|
|
3
|
|
4 #if defined(__GNUC__) || defined(__SUNPRO_CC)
|
|
5 //#pragma pack(4)
|
|
6 #elif defined(__SUNPRO_C)
|
|
7 //#pragma pack()
|
|
8 #elif !defined(RC_INVOKED)
|
|
9 #error "4 as alignment isn't supported by the compiler"
|
|
10 #endif /* defined(__GNUC__) || defined(__SUNPRO_CC) ; !defined(RC_INVOKED) */
|
|
11
|
|
12 #else /* !defined(__WINE_PSHPACK_H) */
|
|
13 #error "Nested pushing of alignment isn't supported by the compiler"
|
|
14 #endif /* !defined(__WINE_PSHPACK_H) */
|
|
15
|