VirtualBox

Changeset 50257 in vbox


Ignore:
Timestamp:
Jan 28, 2014 1:33:57 PM (11 years ago)
Author:
vboxsync
Message:

Let LWIP_DEBUGF be overridden.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/lwip-new/src/include/lwip/debug.h

    r47886 r50257  
    7777
    7878#ifdef LWIP_DEBUG
     79/* let VBox override it to use logging */
     80#ifndef LWIP_DEBUGF
    7981/** print debug message only if debug message type is enabled...
    8082 *  AND is of correct type AND is at least LWIP_DBG_LEVEL
     
    9193                               } \
    9294                             } while(0)
    93 
     95#endif /* !LWIP_DEBUGF */
    9496#else  /* LWIP_DEBUG */
     97#ifdef LWIP_DEBUG
     98/* sanity check, this is going to fail with undefined variables anyway */
     99#error LWIP_DEBUGF is defined without LWIP_DEBUG
     100#endif
    95101#define LWIP_DEBUGF(debug, message)
    96102#endif /* LWIP_DEBUG */
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