summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/mplayer.c b/mplayer.c
index 17ffab144c..e280a1e20c 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -4113,24 +4113,7 @@ static void osdep_preinit(int *p_argc, char ***p_argv)
InitTimer();
srand(GetTimerMS());
-#if (defined(__MINGW32__) || defined(__CYGWIN__)) && defined(CONFIG_WIN32DLL)
- set_path_env();
-#endif
-
#if defined(__MINGW32__) || defined(__CYGWIN__)
- {
- HMODULE kernel32 = GetModuleHandle("Kernel32.dll");
- BOOL WINAPI (*setDEP)(DWORD) = NULL;
- BOOL WINAPI (*setDllDir)(LPCTSTR) = NULL;
- if (kernel32) {
- setDEP = GetProcAddress(kernel32, "SetProcessDEPPolicy");
- setDllDir = GetProcAddress(kernel32, "SetDllDirectoryA");
- }
- if (setDEP)
- setDEP(3);
- if (setDllDir)
- setDllDir("");
- }
// stop Windows from showing all kinds of annoying error dialogs
SetErrorMode(0x8003);
// request 1ms timer resolution