VirtualBox

Changeset 66292 in vbox for trunk/src/VBox/Runtime/common


Ignore:
Timestamp:
Mar 28, 2017 11:33:36 AM (8 years ago)
Author:
vboxsync
Message:

Runtime: use R0_ARCH_BITS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/string/strformatrt.cpp

    r66285 r66292  
    482482                        cch += pfnOutput(pvArgOutput, RT_STR_TUPLE("0x"));
    483483
    484 # ifdef RT_ARCH_X86
     484# if R0_ARCH_BITS == 32
    485485                    cch += pfnOutput(pvArgOutput, RT_STR_TUPLE("XXXXXXXX"));
     486# elif R0_ARCH_BITS == 64
     487                    cch += pfnOutput(pvArgOutput, RT_STR_TUPLE("XXXXXXXXXXXXXXXX"));
     488# elif R0_ARCH_BITS == 16
     489                    cch += pfnOutput(pvArgOutput, RT_STR_TUPLE("XXXX"));
    486490# else
    487                     cch += pfnOutput(pvArgOutput, RT_STR_TUPLE("XXXXXXXXXXXXXXXX"));
     491#  error implement me!
    488492# endif
    489493                    return cch;
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