- Timestamp:
 - Oct 19, 2011, 10:35:15 PM (14 years ago)
 - File:
 - 
      
- 1 edited
 
- 
          
  branches/gcc-kmk/src/kernel32/dbglog.cpp (modified) (3 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
branches/gcc-kmk/src/kernel32/dbglog.cpp
r21717 r21722 257 257 static BOOL fLogging = TRUE; 258 258 static int dwEnableLogging = 1; 259 #ifdef __IBMC__ 259 260 static int oldcrtmsghandle = 0; 261 #endif 260 262 261 263 static BOOL fDisableThread[5] = {0}; 262 264 static BOOL fFlushLines = TRUE; 263 265 264 static c har *pszLastLogEntry = NULL;266 static const char *pszLastLogEntry = NULL; 265 267 266 268 //#define CHECK_ODINHEAP … … 353 355 flog = fopen(szLogFile, "w"); 354 356 } 357 #ifdef __IBMC__ 355 358 oldcrtmsghandle = _set_crt_msg_handle(fileno(flog)); 359 #endif 356 360 } 357 361 else … … 717 721 void CloseLogFile() 718 722 { 723 #ifdef __IBMC__ 719 724 if(oldcrtmsghandle) 720 725 _set_crt_msg_handle(oldcrtmsghandle); 726 #endif 721 727 722 728 #ifdef WIN32_IP_LOGGING  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  