VirtualBox

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


Ignore:
Timestamp:
Jan 19, 2014 5:05:18 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
91628
Message:

LWIP_NOASSERT is tested with #ifdef, not #if. Drop it its incorrect
definition from lwipopts.h and instead disable it in the Makefile for
release, profile and kprofile builds.

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

Legend:

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

    r50058 r50103  
    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
    117122endef
    118123
  • trunk/src/VBox/Devices/Network/lwipopts.h

    r50074 r50103  
    112112/** Attempt to get rid of htons etc. macro issues. */
    113113#undef LWIP_PREFIX_BYTEORDER_FUNCS
    114 
    115 #define LWIP_NOASSERT 0
    116114
    117115#define LWIP_TCPIP_CORE_LOCKING_INPUT 0
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette