annotate loader/wine/pshpack2.h @ 21555:ababf115f90d
Avoid deprecated _sleep, instead include windows.h and use Sleep just like
osdep/timer-win2.c does.
Patch by Zuxy Meng [zuxy meng (at) gmail com]
author |
reimar |
date |
Sun, 10 Dec 2006 14:04:27 +0000 |
parents |
3b5f5d1c5041 |
children |
c98c9e7f3bd0 |
rev |
line source |
1
|
1 #ifndef __WINE_PSHPACK_H
|
|
2 #define __WINE_PSHPACK_H 2
|
|
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
|
|
10 #else /* !defined(__WINE_PSHPACK_H) */
|
|
11 #error "Nested pushing of alignment isn't supported by the compiler"
|
|
12 #endif /* !defined(__WINE_PSHPACK_H) */
|