Changeset 5099 in vbox
- Timestamp:
- Sep 28, 2007 3:43:25 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VM.cpp
r5032 r5099 52 52 #include <iprt/alloc.h> 53 53 #include <iprt/asm.h> 54 #include <iprt/env.h> 54 55 #include <iprt/string.h> 55 56 #include <iprt/time.h> 56 57 #include <iprt/semaphore.h> 57 58 #include <iprt/thread.h> 58 59 #include <stdlib.h> /* getenv */60 59 61 60 … … 410 409 * If executing in fake suplib mode disable RR3 and RR0 in the config. 411 410 */ 412 const char *psz = getenv("VBOX_SUPLIB_FAKE");411 const char *psz = RTEnvGet("VBOX_SUPLIB_FAKE"); 413 412 if (psz && !strcmp(psz, "fake")) 414 413 { … … 657 656 */ 658 657 int rc = VINF_SUCCESS; 659 const char *psz = getenv("VBOX_SUPLIB_FAKE");658 const char *psz = RTEnvGet("VBOX_SUPLIB_FAKE"); 660 659 if (!psz || strcmp(psz, "fake")) 661 660 { … … 689 688 */ 690 689 int rc = VINF_SUCCESS; 691 const char *psz = getenv("VBOX_SUPLIB_FAKE");690 const char *psz = RTEnvGet("VBOX_SUPLIB_FAKE"); 692 691 if (!psz || strcmp(psz, "fake")) 693 692 {
Note:
See TracChangeset
for help on using the changeset viewer.