comparison system/Init.cpp @ 842:23d3a6eca5c3

WS -> OS
author Chris Cannam
date Tue, 26 Nov 2013 11:16:37 +0000
parents b0fde2a60188
children a090221caeda
comparison
equal deleted inserted replaced
840:e50a8fee6752 842:23d3a6eca5c3
15 15
16 #include <iostream> 16 #include <iostream>
17 17
18 #include <qglobal.h> 18 #include <qglobal.h>
19 19
20 #ifdef Q_WS_WIN32 20 #ifdef Q_OS_WIN32
21 21
22 #include <fcntl.h> 22 #include <fcntl.h>
23 23
24 // required for SetDllDirectory 24 // required for SetDllDirectory
25 #define _WIN32_WINNT 0x0502 25 #define _WIN32_WINNT 0x0502
55 55
56 #endif 56 #endif
57 57
58 extern void svSystemSpecificInitialisation() 58 extern void svSystemSpecificInitialisation()
59 { 59 {
60 #ifdef Q_WS_WIN32 60 #ifdef Q_OS_WIN32
61 redirectStderr(); 61 redirectStderr();
62 62
63 // Remove the CWD from the DLL search path, just in case 63 // Remove the CWD from the DLL search path, just in case
64 SetDllDirectory(L""); 64 SetDllDirectory(L"");
65 putenv("PATH="); 65 putenv("PATH=");