Add #ifdef include guards to winnt.h. RC doesn't seem to support #pragma once and emits a redefinition warning, since with RC we first include winnt.h without STRICT defined, then again from windef.h with STRICT defined.

svn path=/trunk/; revision=66267
This commit is contained in:
Timo Kreuzer 2015-02-14 17:04:42 +00:00
parent 1605785f0b
commit d932c7c5bf
2 changed files with 6 additions and 0 deletions

View file

@ -20,6 +20,7 @@
*/
#pragma once
#ifndef _WINNT_
#define _WINNT_
/* We require WDK / VS 2008 or newer */
@ -6130,3 +6131,5 @@ typedef struct _TP_CALLBACK_ENVIRON_V1 {
#ifdef __cplusplus
} // extern "C"
#endif
#endif /* _WINNT_ */

View file

@ -20,6 +20,7 @@
*/
#pragma once
#ifndef _WINNT_
#define _WINNT_
/* We require WDK / VS 2008 or newer */
@ -74,3 +75,5 @@ $include(winnt_old.h)
#ifdef __cplusplus
} // extern "C"
#endif
#endif /* _WINNT_ */