Guard for W32API 2.5.

svn path=/trunk/; revision=7410
This commit is contained in:
Filip Navara 2004-01-02 20:29:46 +00:00
parent 9f1759234a
commit 2a542a8199

View file

@ -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 */