- Timestamp:
- Dec 29, 2022 6:23:26 PM (2 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/log.h
r97880 r97906 194 194 195 195 196 #if 0 /* retired */ 196 197 /** 197 198 * Logger function. … … 203 204 /** Pointer to logger function. */ 204 205 typedef FNRTLOGGER *PFNRTLOGGER; 206 #endif 205 207 206 208 /** … … 404 406 /** User value \#3, initialized to zero. */ 405 407 uint64_t u64UserValue3; 408 #if 0 406 409 /** Pointer to the logger function (used in non-C99 mode only). 407 410 * … … 412 415 * RTMemExecAlloc(), except for agnostic R0 code.) */ 413 416 PFNRTLOGGER pfnLogger; 417 #else 418 /** Unused. */ 419 uintptr_t uUsedToBeNonC99Logger; 420 #endif 414 421 #if ARCH_BITS == 32 415 422 /** Explicit padding. */ -
trunk/src/VBox/Runtime/common/log/log.cpp
r96924 r97906 1361 1361 pLoggerInt->idxBufDesc = 0; 1362 1362 1363 # if defined(RT_ARCH_X86) && !defined(LOG_USE_C99) 1363 # if defined(RT_ARCH_X86) && !defined(LOG_USE_C99) && 0 /* retired */ 1364 1364 /* 1365 1365 * Emit wrapper code. … … 1393 1393 } 1394 1394 if (RT_SUCCESS(rc)) 1395 # endif /* X86 wrapper code */1395 # endif /* X86 wrapper code */ 1396 1396 { 1397 1397 # ifdef IN_RING3 /* files and env.vars. are only accessible when in R3 at the present time. */ … … 1517 1517 pLoggerInt->pOutputIf->pfnClose(pLoggerInt->pOutputIf, pLoggerInt->pvOutputIfUser); 1518 1518 # endif 1519 # if defined(RT_ARCH_X86) && !defined(LOG_USE_C99) 1519 # if defined(RT_ARCH_X86) && !defined(LOG_USE_C99) && 0 /* retired */ 1520 1520 if (pLoggerInt->Core.pfnLogger) 1521 1521 { … … 1629 1629 } 1630 1630 1631 # if defined(RT_ARCH_X86) && !defined(LOG_USE_C99) 1631 # if defined(RT_ARCH_X86) && !defined(LOG_USE_C99) && 0 /* retired */ 1632 1632 if (pLoggerInt->Core.pfnLogger) 1633 1633 {
Note:
See TracChangeset
for help on using the changeset viewer.