VirtualBox

Changeset 16029 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Jan 19, 2009 5:24:01 AM (16 years ago)
Author:
vboxsync
Message:

iprt/string.h: Reverted previous FreeBSD and moved it to SUPDrvInternal.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/string.h

    r16027 r16029  
    4242   *  Some of the string.h stuff clashes with sys/libkern.h, so just wrap
    4343   *  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.
    4645   */
    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
    5547# include <string.h>
    5648# undef strdup
    57 # undef memset
    58 # undef memcmp
    59 # undef strchr
    60 # undef strrchr
    61 # undef ffsl
    62 # undef fls
    63 # undef flsl
    6449#elif defined(RT_OS_SOLARIS) && defined(_KERNEL)
    6550  /*
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