mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 00:03:22 +00:00
[PSDK]
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:
parent
1605785f0b
commit
d932c7c5bf
2 changed files with 6 additions and 0 deletions
|
@ -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_ */
|
||||
|
|
|
@ -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_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue