VirtualBox

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.

File:
1 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
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