diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2008-11-12 11:04:27 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2008-11-12 11:04:27 +0000 |
commit | babd4a9c621c872cc366c679e507f5a968ad1ea3 (patch) | |
tree | e901ad85ccfa09f6298c07810a03c81aa6ddd512 /winsup/cygwin/autoload.cc | |
parent | bef889658773bfdee45c061baf1624e3ae7359a2 (diff) | |
download | cygnal-babd4a9c621c872cc366c679e507f5a968ad1ea3.tar.gz cygnal-babd4a9c621c872cc366c679e507f5a968ad1ea3.tar.bz2 cygnal-babd4a9c621c872cc366c679e507f5a968ad1ea3.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/autoload.cc')
-rw-r--r-- | winsup/cygwin/autoload.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc index c86deb991..e69a33222 100644 --- a/winsup/cygwin/autoload.cc +++ b/winsup/cygwin/autoload.cc @@ -413,6 +413,9 @@ LoadDLLfuncEx (FindVolumeClose, 4, kernel32, 1) LoadDLLfuncEx (GetConsoleWindow, 0, kernel32, 1) LoadDLLfuncEx (GetSystemWindowsDirectoryW, 8, kernel32, 1) LoadDLLfuncEx (GetVolumeNameForVolumeMountPointA, 12, kernel32, 1) +LoadDLLfuncEx (GetSystemDEPPolicy, 0, kernel32, 1) +LoadDLLfuncEx (GetProcessDEPPolicy, 12, kernel32, 1) +LoadDLLfuncEx (SetProcessDEPPolicy, 4, kernel32, 1) LoadDLLfunc (SHGetDesktopFolder, 4, shell32) |