Changeset 16029 in vbox
- Timestamp:
- Jan 19, 2009 5:24:01 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 41713
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/string.h
r16027 r16029 42 42 * Some of the string.h stuff clashes with sys/libkern.h, so just wrap 43 43 * it up while including string.h to keep things quiet. It's nothing 44 * important that's clashing, after all. Well, with 7.x it's more 45 * essential stuff unforuntately... 44 * important that's clashing, after all. 46 45 */ 47 # define strdup strdup_string_h 48 # define memset memset_string_h 49 # define memcmp memcmp_string_h 50 # define strchr strchr_string_h 51 # define strrchr strrchr_string_h 52 # define ffsl ffsl_string_h 53 # define fls fls_string_h 54 # define flsl flsl_string_h 46 # define strdup strdup_string_h 55 47 # include <string.h> 56 48 # undef strdup 57 # undef memset58 # undef memcmp59 # undef strchr60 # undef strrchr61 # undef ffsl62 # undef fls63 # undef flsl64 49 #elif defined(RT_OS_SOLARIS) && defined(_KERNEL) 65 50 /* -
trunk/src/VBox/HostDrivers/Support/SUPDrvInternal.h
r15841 r16029 117 117 118 118 #elif defined(RT_OS_FREEBSD) 119 # define memset libkern_memset /** @todo these are just hacks to get it compiling, check out later. */ 120 # define memcmp libkern_memcmp 121 # define strchr libkern_strchr 122 # define strrchr libkern_strrchr 123 # define ffs libkern_ffs 124 # define ffsl libkern_ffsl 125 # define fls libkern_fls 126 # define flsl libkern_flsl 119 127 # include <sys/libkern.h> 128 # undef memset 129 # undef memcmp 130 # undef strchr 131 # undef strrchr 132 # undef ffs 133 # undef ffsl 134 # undef fls 135 # undef flsl 120 136 # include <iprt/string.h> 121 137
Note:
See TracChangeset
for help on using the changeset viewer.