VirtualBox

Ignore:
Timestamp:
Jul 10, 2020 3:12:19 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
139168
Message:

slirp: Clang 11 / OSX SDK 10.13 adjustments. bugref:9790

Location:
trunk/src/VBox/Devices/Network/slirp
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/bsd/sys/mbuf.h

    r85123 r85195  
    7070# endif
    7171
     72# undef  bzero
    7273# define bzero(a1, len) memset((a1), 0, (len))
    7374
  • trunk/src/VBox/Devices/Network/slirp/libalias/alias.c

    r63562 r85195  
    150150# include "alias_mod.h"
    151151
    152 #define return(x)                                             \
     152# if 0 /* Clang 11 does not approve of this */
     153# define return(x)                                            \
    153154do {                                                          \
    154155    Log2(("NAT:ALIAS: %s:%d return(%s:%d)\n",                 \
     
    156157    return x;                                                 \
    157158} while(0)
     159# endif
    158160#endif /* VBOX */
    159161static __inline int
  • trunk/src/VBox/Devices/Network/slirp/slirp.h

    r82968 r85195  
    410410# define ip_next(ip) (void *)((uint8_t *)(ip) + ((ip)->ip_hl << 2))
    411411# define udp_next(udp) (void *)((uint8_t *)&((struct udphdr *)(udp))[1])
     412# undef  bcopy
    412413# define bcopy(src, dst, len) memcpy((dst), (src), (len))
     414# undef  bcmp
    413415# define bcmp(a1, a2, len) memcmp((a1), (a2), (len))
    414416# define NO_FW_PUNCH
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