Changeset 53998 in vbox for trunk/src/VBox/ExtPacks
- Timestamp:
- Jan 28, 2015 12:13:07 AM (10 years ago)
- Location:
- trunk/src/VBox/ExtPacks/VBoxDTrace/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ExtPacks/VBoxDTrace/include/VBoxDTraceLibCWrappers.h
r53996 r53998 85 85 #define strndup(a_psz, a_cchMax) ((char *)RTMemDupEx(a_psz, RTStrNLen(a_psz, a_cchMax), 1)) 86 86 87 /* For various stupid reasons, these are duplicated in VBoxDTraceTypes.h. */ 88 #undef bcopy 89 #define bcopy(a_pSrc, a_pDst, a_cb) ((void)memmove(a_pDst, a_pSrc, a_cb)) 90 #undef bzero 91 #define bzero(a_pDst, a_cb) ((void)memset(a_pDst, 0, a_cb)) 92 #undef bcmp 93 #define bcmp(a_p1, a_p2, a_cb) (memcmp(a_p1, a_p2, a_cb)) 94 87 95 #endif 88 96 -
trunk/src/VBox/ExtPacks/VBoxDTrace/include/VBoxDTraceTypes.h
r53995 r53998 134 134 * string 135 135 */ 136 #undef bcopy 137 #define bcopy(a_pSrc, a_pDst, a_cb) ((void)memmove(a_pDst, a_pSrc, a_cb)) 138 #undef bzero 139 #define bzero(a_pDst, a_cb) ((void)memset(a_pDst, 0, a_cb)) 140 #undef bcmp 141 #define bcmp(a_p1, a_p2, a_cb) (memcmp(a_p1, a_p2, a_cb)) 136 142 #if defined(_MSC_VER) || defined(IN_RING0) 137 # define bcopy(a_pSrc, a_pDst, a_cb) memmove(a_pDst, a_pSrc, a_cb)138 # define bzero(a_pDst, a_cb) RT_BZERO(a_pDst, a_cb)139 # define bcmp(a_p1, a_p2, a_cb) memcmp(a_p1, a_p2, a_cb)140 143 # define snprintf RTStrPrintf 141 144 # define vsnprintf RTStrPrintfV
Note:
See TracChangeset
for help on using the changeset viewer.