diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2011-12-22 18:31:46 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2011-12-22 18:31:46 +0400 |
commit | 964a927fe6ece051d3deb84acbd16e2cf16838f6 (patch) | |
tree | 799b003d75f89afea81f19033ab60d0a523d7787 /winsup/w32api/include | |
parent | 185ad82d2dd9bb352cacdeb6cfab7a4f9dfae826 (diff) |
* include/winnt.h (JOB_OBJECT_LIMIT_BREAKAWAY_OK): Define.
(JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK): Define.
(JOB_OBJECT_BREAKAWAY_OK): Define as JOB_OBJECT_LIMIT_BREAKAWAY_OK
and mark as kept for backward compatibility only.
(JOB_OBJECT_SILENT_BREAKAWAY): Define as
JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK and mark as kept for backward
compatibility only.
Diffstat (limited to 'winsup/w32api/include')
-rw-r--r-- | winsup/w32api/include/winnt.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/winsup/w32api/include/winnt.h b/winsup/w32api/include/winnt.h index a556ef0c3..b31274bbe 100644 --- a/winsup/w32api/include/winnt.h +++ b/winsup/w32api/include/winnt.h @@ -3503,8 +3503,12 @@ typedef union _FILE_SEGMENT_ELEMENT { #define JOB_OBJECT_LIMIT_PROCESS_MEMORY 0x0100 #define JOB_OBJECT_LIMIT_JOB_MEMORY 0x0200 #define JOB_OBJECT_LIMIT_DIE_ON_UNHANDLED_EXCEPTION 0x0400 -#define JOB_OBJECT_BREAKAWAY_OK 0x0800 -#define JOB_OBJECT_SILENT_BREAKAWAY 0x1000 +#define JOB_OBJECT_LIMIT_BREAKAWAY_OK 0x0800 +#define JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK 0x1000 + +/* Wrong definitions, but keep for backward compatibility. */ +#define JOB_OBJECT_BREAKAWAY_OK JOB_OBJECT_LIMIT_BREAKAWAY_OK +#define JOB_OBJECT_SILENT_BREAKAWAY JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK /* JOBOBJECT_BASIC_UI_RESTRICTIONS.UIRestrictionsClass constants */ #define JOB_OBJECT_UILIMIT_HANDLES 0x0001 |