mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Guard for W32API 2.5.
svn path=/trunk/; revision=7410
This commit is contained in:
parent
9f1759234a
commit
2a542a8199
1 changed files with 5 additions and 0 deletions
|
@ -22,6 +22,7 @@
|
|||
#define __WINE_WINNT_H
|
||||
|
||||
#include_next <winnt.h>
|
||||
#include <w32api.h>
|
||||
|
||||
/* non standard; keep the number high enough (but < 0xff) */
|
||||
#define LANG_ESPERANTO 0x8f
|
||||
|
@ -32,6 +33,8 @@
|
|||
|
||||
#define WINE_UNUSED __attribute__((unused))
|
||||
|
||||
#if (__W32API_MAJOR_VERSION < 2 || __W32API_MINOR_VERSION < 5)
|
||||
|
||||
static inline struct _TEB * NtCurrentTeb(void)
|
||||
{
|
||||
struct _TEB * pTeb;
|
||||
|
@ -47,4 +50,6 @@ static inline struct _TEB * NtCurrentTeb(void)
|
|||
return pTeb;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* __WINE_WINNT_H */
|
||||
|
|
Loading…
Reference in a new issue