2001-11-10 Robert Collins <rbtcollins@hotmail.com>
* include/winnt.h: Add Danny Smith's text comment about gcc compiler warnings with _AUTHORITY #defines.
This commit is contained in:
parent
d0d69f141d
commit
4d1fdcb6f8
|
@ -1,3 +1,8 @@
|
||||||
|
2001-11-10 Robert Collins <rbtcollins@hotmail.com>
|
||||||
|
|
||||||
|
* include/winnt.h: Add Danny Smith's text comment about gcc compiler warnings
|
||||||
|
with _AUTHORITY #defines.
|
||||||
|
|
||||||
2001-11-09 Robert Collins <rbtcollins@hotmail.com>
|
2001-11-09 Robert Collins <rbtcollins@hotmail.com>
|
||||||
|
|
||||||
* include/winnt.h (GetCurrentFiber): Create a prototype before the implementation;
|
* include/winnt.h (GetCurrentFiber): Create a prototype before the implementation;
|
||||||
|
|
|
@ -267,6 +267,11 @@ typedef BYTE BOOLEAN,*PBOOLEAN;
|
||||||
#define THREAD_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|0x3FF)
|
#define THREAD_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|0x3FF)
|
||||||
#define EXCEPTION_NONCONTINUABLE 1
|
#define EXCEPTION_NONCONTINUABLE 1
|
||||||
#define EXCEPTION_MAXIMUM_PARAMETERS 15
|
#define EXCEPTION_MAXIMUM_PARAMETERS 15
|
||||||
|
/*
|
||||||
|
* To prevent gcc compiler warnings, bracket these defines when initialising
|
||||||
|
* a SID_IDENTIFIER_AUTHORITY, eg.
|
||||||
|
* SID_IDENTIFIER_AUTHORITY aNullSidAuthority = {SECURITY_NULL_SID_AUTHORITY};
|
||||||
|
*/
|
||||||
#define SECURITY_NULL_SID_AUTHORITY {0,0,0,0,0,0}
|
#define SECURITY_NULL_SID_AUTHORITY {0,0,0,0,0,0}
|
||||||
#define SECURITY_WORLD_SID_AUTHORITY {0,0,0,0,0,1}
|
#define SECURITY_WORLD_SID_AUTHORITY {0,0,0,0,0,1}
|
||||||
#define SECURITY_LOCAL_SID_AUTHORITY {0,0,0,0,0,2}
|
#define SECURITY_LOCAL_SID_AUTHORITY {0,0,0,0,0,2}
|
||||||
|
|
Loading…
Reference in New Issue