- Protect NTSTATUS definition in NDK with a guard, as is done in the user mode headers which also define this type

- Remove system_header from these user mode headers

svn path=/trunk/; revision=37527
This commit is contained in:
Stefan Ginsberg 2008-11-21 21:12:53 +00:00
parent 1bf8f269d0
commit e40f53753f
4 changed files with 2 additions and 10 deletions

View file

@ -122,13 +122,14 @@ typedef short CSHORT;
typedef CSHORT *PCSHORT; typedef CSHORT *PCSHORT;
typedef LARGE_INTEGER PHYSICAL_ADDRESS, *PPHYSICAL_ADDRESS; typedef LARGE_INTEGER PHYSICAL_ADDRESS, *PPHYSICAL_ADDRESS;
typedef LONG KPRIORITY; typedef LONG KPRIORITY;
typedef LONG NTSTATUS, *PNTSTATUS;
// //
// Basic NT Types // Basic NT Types
// //
#if !defined(_NTSECAPI_H) && !defined(_SUBAUTH_H) && !defined(_NTSECAPI_) #if !defined(_NTSECAPI_H) && !defined(_SUBAUTH_H) && !defined(_NTSECAPI_)
typedef LONG NTSTATUS, *PNTSTATUS;
typedef struct _UNICODE_STRING typedef struct _UNICODE_STRING
{ {
USHORT Length; USHORT Length;

View file

@ -1,8 +1,5 @@
#ifndef _NTSECAPI_H #ifndef _NTSECAPI_H
#define _NTSECAPI_H #define _NTSECAPI_H
#if __GNUC__ >=3
#pragma GCC system_header
#endif
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View file

@ -18,9 +18,6 @@
#ifndef _NTSECPKG_H #ifndef _NTSECPKG_H
#define _NTSECPKG_H #define _NTSECPKG_H
#if __GNUC__ >=3
#pragma GCC system_header
#endif
/* Flags for the MachineState field in SECPKG_PARAMETERS */ /* Flags for the MachineState field in SECPKG_PARAMETERS */
#define SECPKG_STATE_ENCRYPTION_PERMITTED 0x01 #define SECPKG_STATE_ENCRYPTION_PERMITTED 0x01

View file

@ -1,8 +1,5 @@
#ifndef _SUBAUTH_H #ifndef _SUBAUTH_H
#define _SUBAUTH_H #define _SUBAUTH_H
#if __GNUC__ >=3
#pragma GCC system_header
#endif
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {