- Timestamp:
- Jun 24, 2009 11:46:10 PM (16 years ago)
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/include/internal/alignmentchecks.h
r20910 r20911 33 33 #define ___internal_alignmentchecks_h 34 34 35 /** @def IPRT_WITH_ALIGNMENT_CHECKS 36 * Enables or disables the alignment check feature and related hacks. */ 37 38 #ifndef IPRT_WITH_ALIGNMENT_CHECKS 39 # if ( defined(DEBUG) && !defined(IN_GUEST) ) || defined(DOXYGEN_RUNNING) 40 # define IPRT_WITH_ALIGNMENT_CHECKS 1 41 # endif 42 #endif 43 35 44 /** @def IPRT_ALIGNMENT_CHECKS_DISABLE 36 45 * Disables alignment checks. … … 44 53 */ 45 54 46 #if ( defined(DEBUG) && !defined(IN_GUEST) ) || defined(DOXYGEN_RUNNING)55 #ifdef IPRT_WITH_ALIGNMENT_CHECKS 47 56 # include <iprt/asm.h> 48 57 -
trunk/src/VBox/Runtime/r3/init.cpp
r20839 r20911 115 115 RTPROCPRIORITY g_enmProcessPriority = RTPROCPRIORITY_DEFAULT; 116 116 117 #ifdef DEBUG117 #ifdef IPRT_WITH_ALIGNMENT_CHECKS 118 118 /** 119 119 * Whether alignment checks are enabled. … … 275 275 #endif 276 276 277 #if defined(DEBUG)277 #ifdef IPRT_WITH_ALIGNMENT_CHECKS 278 278 /* 279 279 * Enable alignment checks.
Note:
See TracChangeset
for help on using the changeset viewer.