Changeset 39868 in vbox for trunk/src/VBox
- Timestamp:
- Jan 25, 2012 6:58:43 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/util/error.c
r33750 r39868 42 42 { 43 43 char *temp; 44 /* on windows guests we're typically get called in a context of VBoxOGL!DllMain ( which calls VBoxOGLcrutil!crNetInit ), 45 * which may lead to deadlocks.. 46 * Avoid it as it is needed for debugging purposes only */ 47 #if !defined(IN_GUEST) || !defined(RT_OS_WINDOWS) 44 48 if ( crGetHostname( my_hostname, sizeof( my_hostname ) ) ) 49 #endif 45 50 { 46 51 crStrcpy( my_hostname, "????" ); … … 100 105 fflush( output ); 101 106 102 #if defined(DEBUG) && defined(WINDOWS) && !defined(DEBUG_misha)107 #if defined(DEBUG) && defined(WINDOWS) /* && (!defined(DEBUG_misha) || !defined(IN_GUEST) ) */ 103 108 OutputDebugString(str); 104 109 OutputDebugString("\n"); … … 197 202 #ifdef WINDOWS 198 203 } 199 #if !defined(DEBUG_leo) && !defined(DEBUG_ll158262) && ! (defined(DEBUG_misha) && defined(IN_GUEST))204 #if !defined(DEBUG_leo) && !defined(DEBUG_ll158262) && !defined(DEBUG_misha) 200 205 if (crGetenv( "CR_DEBUG_ON_ERROR" ) != NULL) 201 206 #endif … … 241 246 va_end( args ); 242 247 243 #if defined(WINDOWS) && defined(DEBUG) && !defined(IN_GUEST) && !defined(DEBUG_misha)248 #if defined(WINDOWS) && defined(DEBUG) && !defined(IN_GUEST) 244 249 DebugBreak(); 245 250 #endif … … 322 327 output = stderr; 323 328 } 324 #if !defined(DEBUG) || defined(DEBUG_misha)329 #if !defined(DEBUG)/* || defined(DEBUG_misha)*/ 325 330 /* Release mode: only emit crDebug messages if CR_DEBUG 326 331 * or CR_DEBUG_FILE is set. … … 383 388 outputChromiumMessage( output, txt ); 384 389 # endif 390 #ifndef DEBUG_misha 385 391 if (output==stderr) 392 #endif 386 393 { 387 394 LogRel(("%s\n", txt)); 388 395 } 396 #ifndef DEBUG_misha 389 397 else 398 #endif 390 399 { 391 400 outputChromiumMessage(output, txt);
Note:
See TracChangeset
for help on using the changeset viewer.