VirtualBox

Changeset 16027 in vbox


Ignore:
Timestamp:
Jan 19, 2009 4:58:00 AM (16 years ago)
Author:
vboxsync
Message:

iprt/string.h: More ring-0 freebsd hacks.

File:
1 edited

Legend:

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

    r14774 r16027  
    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.
     44   *  important that's clashing, after all. Well, with 7.x it's more
     45   *  essential stuff unforuntately...
    4546   */
    46 # define strdup strdup_string_h
     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
    4755# include <string.h>
    4856# undef strdup
     57# undef memset
     58# undef memcmp
     59# undef strchr
     60# undef strrchr
     61# undef ffsl
     62# undef fls
     63# undef flsl
    4964#elif defined(RT_OS_SOLARIS) && defined(_KERNEL)
    5065  /*
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