* autoload.cc (GetSystemDEPPolicy): Define.
(GetProcessDEPPolicy): Ditto. (SetProcessDEPPolicy): Ditto. * dcrt0.cc (disable_dep): New static function. (dll_crt0_0): Call disable_dep on platforms requiring it. Add longish comment to explain the circumstances. * wincap.h (wincaps::ts_has_dep_problem): New element. * wincap.cc: Implement above element throughout. (wincapc::init): Set ts_has_dep_problem to true on 2008 Terminal Servers. * winsup.h (WINVER): Set to 0x0601.
This commit is contained in:
@@ -42,6 +42,7 @@ struct wincaps
|
||||
unsigned supports_all_posix_ai_flags : 1;
|
||||
unsigned has_restricted_stack_args : 1;
|
||||
unsigned has_transactions : 1;
|
||||
unsigned ts_has_dep_problem : 1;
|
||||
};
|
||||
|
||||
class wincapc
|
||||
@@ -90,6 +91,7 @@ public:
|
||||
bool IMPLEMENT (supports_all_posix_ai_flags)
|
||||
bool IMPLEMENT (has_restricted_stack_args)
|
||||
bool IMPLEMENT (has_transactions)
|
||||
bool IMPLEMENT (ts_has_dep_problem)
|
||||
|
||||
#undef IMPLEMENT
|
||||
};
|
||||
|
Reference in New Issue
Block a user