Changeset 38638 in vbox
- Timestamp:
- Sep 5, 2011 2:02:29 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 73845
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/init.cpp
r38636 r38638 34 34 #ifdef RT_OS_WINDOWS 35 35 # include <process.h> 36 # include <Windows.h> 36 37 #else 37 38 # include <unistd.h> … … 317 318 setlocale(LC_CTYPE, ""); 318 319 320 #ifdef RT_OS_WINDOWS 321 /* 322 * On windows, make sure we talk CP_ACP to the console. It frequently uses 323 * a different code page, which would cause %[lL]S to fail. 324 */ 325 if (!(fFlags & RTR3INIT_FLAGS_DLL)) 326 { 327 SetConsoleCP(GetACP()); 328 SetConsoleOutputCP(GetACP()); 329 } 330 #endif 331 319 332 /* 320 333 * The Process ID.
Note:
See TracChangeset
for help on using the changeset viewer.