VirtualBox

Changeset 39999 in vbox for trunk/src/VBox/VMM/testcase


Ignore:
Timestamp:
Feb 4, 2012 10:22:43 PM (13 years ago)
Author:
vboxsync
Message:

tstX86-1.cpp: build fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/testcase/tstX86-1.cpp

    r39998 r39999  
    134134    uintptr_t   uTrapNo = pCtx->uc_mcontext.gregs[REG_TRAPNO];
    135135    uintptr_t   uErr    = pCtx->uc_mcontext.gregs[REG_ERR];
     136#  ifdef REG_CR2 /** @todo ... */
    136137    uintptr_t   uCr2    = pCtx->uc_mcontext.gregs[REG_CR2];
     138#  else
     139    uintptr_t   uCr2    = ~(uintptr_t)0;
     140#  endif
    137141
    138142# else
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette