VirtualBox

Changeset 63005 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Aug 4, 2016 8:19:20 PM (8 years ago)
Author:
vboxsync
Message:

lwip,nat: Try figure LWIP_NOASSERT in the two lwipopts.h files, linking it to VBOX_ASSERT.

Location:
trunk/src/VBox/Devices/Network
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/lwip-new/Makefile.kmk

    r62499 r63005  
    115115  # add lwip's own includes
    116116  $(strip $2)_INCS += $(foreach incdir, $(LWIP_INCS), $(strip $3)/$(incdir))
    117 
    118   # disable lwip assertions for some build types
    119   $(strip $2)_DEFS.release  += LWIP_NOASSERT
    120   $(strip $2)_DEFS.profile  += LWIP_NOASSERT
    121   $(strip $2)_DEFS.kprofile += LWIP_NOASSERT
    122117endef
    123118
  • trunk/src/VBox/Devices/Network/lwipopts.h

    r55992 r63005  
    22#define VBOX_LWIP_OPTS_H_
    33
     4#include <VBox/cdefs.h>     /* For VBOX_STRICT. */
    45#include <iprt/mem.h>
    56#include <iprt/alloca.h>    /* This may include malloc.h (msc), which is something that has
     
    172173#define free(x) RTMemFree(x)
    173174
     175/* Align VBOX_STRICT and LWIP_NOASSERT. */
     176#ifndef VBOX_STRICT
     177# define LWIP_NOASSERT 1
     178#endif
    174179
    175180#include "lwip-namespace.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