VirtualBox

Changeset 62942 in vbox for trunk/include/iprt/alloca.h


Ignore:
Timestamp:
Aug 3, 2016 10:03:08 PM (8 years ago)
Author:
vboxsync
Message:

iprt/alloca.h: There's no need to include <malloc.h> on NetBSD too,
it's just a wrapper to include <stdlib.h> already explicitly included
just above.

I wonder if this negative #if test should really be changed into
positive.

File:
1 edited

Legend:

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

    r62941 r62942  
    4949#else
    5050# include <stdlib.h>
    51 # if !defined(RT_OS_DARWIN) && !defined(RT_OS_FREEBSD)
     51# if !defined(RT_OS_DARWIN) && !defined(RT_OS_FREEBSD) && !defined(RT_OS_NETBSD)
    5252#  include <malloc.h>
    5353# endif
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