VirtualBox

Changeset 3624 in vbox for trunk


Ignore:
Timestamp:
Jul 16, 2007 2:27:31 AM (17 years ago)
Author:
vboxsync
Message:

FreeBSD kernel.

File:
1 edited

Legend:

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

    r2981 r3624  
    2929#if defined(__LINUX__) && defined(__KERNEL__)
    3030# include <linux/string.h>
     31#elif defined(__FREEBSD__) && defined(_KERNEL)
     32  /*
     33   * Kludge for the FreeBSD kernel:
     34   *  Some of the string.h stuff clashes with sys/libkern.h, so just wrap
     35   *  it up while including string.h to keep things quiet. It's nothing
     36   *  important that's clashing, after all.
     37   */
     38# define strdup strdup_string_h
     39# include <string.h>
     40# undef strdup
    3141#else
    3242# include <string.h>
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