Use _WINNT_ as exclusion define for source compatibility.

This commit is contained in:
Jon Griffiths 2004-11-19 17:59:41 +00:00 committed by Alexandre Julliard
parent 1d428e6a41
commit 21c8663f92
2 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@ import "unknwn.idl";
interface IStream;
/* FIXME: LANDID is defined in winnt.h and mlang.h in the platform SDK */
cpp_quote("#ifndef __WINE_WINNT_H")
cpp_quote("#ifndef _WINNT_")
typedef WORD LANGID;
cpp_quote("#endif")

View File

@ -18,8 +18,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef __WINE_WINNT_H
#define __WINE_WINNT_H
#ifndef _WINNT_
#define _WINNT_
#include <basetsd.h>
@ -3648,4 +3648,4 @@ ULONGLONG WINAPI VerSetConditionMask(ULONGLONG,DWORD,BYTE);
#define VER_AND 6
#define VER_OR 7
#endif /* __WINE_WINNT_H */
#endif /* _WINNT_ */