VirtualBox

Changeset 53693 in vbox for trunk


Ignore:
Timestamp:
Jan 2, 2015 12:42:04 PM (10 years ago)
Author:
vboxsync
Message:

VBoxDTrace: MSC 7.1 fixes (r70)

Location:
trunk/src/VBox/ExtPacks/VBoxDTrace
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ExtPacks/VBoxDTrace/VBoxDTraceR0/VBoxDTraceR0.cpp

    r53692 r53693  
    13881388        return;
    13891389
    1390     if (pProv->TracerData.DTrace.cProvidedProbes >= pProbeLocEnd - pProbeLoc)
     1390    if (pProv->TracerData.DTrace.cProvidedProbes >= (uintptr_t)(pProbeLocEnd - pProbeLoc))
    13911391        return;
    13921392
  • trunk/src/VBox/ExtPacks/VBoxDTrace/include/VBoxDTraceTypes.h

    r53687 r53693  
    136136# define bcmp(a_p1, a_p2, a_cb)     memcmp(a_p1, a_p2, a_cb)
    137137# define snprintf                   RTStrPrintf
     138# define vsnprintf                  RTStrPrintfV
    138139#endif
    139140
     
    446447#define GELF_ST_BIND ELF64_ST_BIND
    447448
     449/*
     450 * MSC stuff.
     451 */
     452# ifdef _MSC_VER
     453#  ifndef SIZE_MAX
     454#   if ARCH_BITS == 32
     455#    define SIZE_MAX UINT32_MAX
     456#   else
     457#    define SIZE_MAX UINT64_MAX
     458#   endif
     459#  endif
     460# endif /* _MSC_VER */
     461
    448462#endif /* IN_RING3 */
    449463
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