annotate loader/wine/pshpack1.h @ 22379:6b245d6e56a9
winsocks expects an int in milliseconds instead of struct timeval to set
the timeout of a socket
patch by Zuxy Meng, zuxy dot meng ... gmailcom
author |
ivo |
date |
Thu, 01 Mar 2007 14:57:44 +0000 |
parents |
3b5f5d1c5041 |
children |
c98c9e7f3bd0 |
rev |
line source |
1
|
1 #ifndef __WINE_PSHPACK_H
|
|
2 #define __WINE_PSHPACK_H 1
|
|
3
|
|
4 #if defined(__GNUC__) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
|
|
5 //#pragma pack(1)
|
|
6 #elif !defined(RC_INVOKED)
|
|
7 #error "1 as alignment isn't supported by the compiler"
|
|
8 #endif /* defined(__GNUC__) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) ; !defined(RC_INVOKED) */
|
|
9
|
|
10 #else /* !defined(__WINE_PSHPACK_H) */
|
|
11 #error "Nested pushing of alignment isn't supported by the compiler"
|
|
12 #endif /* !defined(__WINE_PSHPACK_H) */
|
|
13
|