From babd4a9c621c872cc366c679e507f5a968ad1ea3 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 12 Nov 2008 11:04:27 +0000 Subject: * 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. --- winsup/cygwin/autoload.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'winsup/cygwin/autoload.cc') 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) -- cgit v1.2.3