mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 06:33:01 +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
|
#define __WINE_WINNT_H
|
||||||
|
|
||||||
#include_next <winnt.h>
|
#include_next <winnt.h>
|
||||||
|
#include <w32api.h>
|
||||||
|
|
||||||
/* non standard; keep the number high enough (but < 0xff) */
|
/* non standard; keep the number high enough (but < 0xff) */
|
||||||
#define LANG_ESPERANTO 0x8f
|
#define LANG_ESPERANTO 0x8f
|
||||||
|
@ -32,6 +33,8 @@
|
||||||
|
|
||||||
#define WINE_UNUSED __attribute__((unused))
|
#define WINE_UNUSED __attribute__((unused))
|
||||||
|
|
||||||
|
#if (__W32API_MAJOR_VERSION < 2 || __W32API_MINOR_VERSION < 5)
|
||||||
|
|
||||||
static inline struct _TEB * NtCurrentTeb(void)
|
static inline struct _TEB * NtCurrentTeb(void)
|
||||||
{
|
{
|
||||||
struct _TEB * pTeb;
|
struct _TEB * pTeb;
|
||||||
|
@ -47,4 +50,6 @@ static inline struct _TEB * NtCurrentTeb(void)
|
||||||
return pTeb;
|
return pTeb;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* __WINE_WINNT_H */
|
#endif /* __WINE_WINNT_H */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue