VirtualBox

Changeset 3888 in vbox for trunk/include


Ignore:
Timestamp:
Jul 26, 2007 4:26:39 PM (17 years ago)
Author:
vboxsync
Message:

Solaris.

Location:
trunk/include/iprt
Files:
2 edited

Legend:

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

    r3637 r3888  
    6262#  define RTSPINLOCKTMP_INITIALIZER { 0 }
    6363
    64 # elif defined(RT_OS_OS2) || defined(RT_OS_FREEBSD)
     64# elif defined(RT_OS_OS2) || defined(RT_OS_FREEBSD) || defined(RT_OS_SOLARIS)
    6565    /** The saved [R|E]FLAGS. (dummy) */
    6666    RTUINTREG       uFlags;
  • trunk/include/iprt/string.h

    r3637 r3888  
    3838# include <string.h>
    3939# undef strdup
     40#elif defined(RT_OS_SOLARIS) && defined(_KERNEL)
     41  /*
     42   * Same case as with FreeBSD kernel:
     43   * The string.h stuff clashes with sys/systm.h
     44   * ffs = find first set bit.
     45   */
     46# define ffs ffs_string_h
     47# include <string.h>
     48# undef ffs
    4049#else
    4150# 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