VirtualBox

Changeset 41807 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Jun 18, 2012 3:26:32 AM (12 years ago)
Author:
vboxsync
Message:

NAT: warnings on release build.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/misc.c

    r41323 r41807  
    103103}
    104104
    105 # if !defined(VBOX_NAT_MEM_DEBUG) && defined(LOG_ENABLED)
    106 #  undef LogFlowFunc
    107 #  define LogFlowFunc(x)
    108 
    109 #  undef LogFlowFuncEnter
    110 #  define LogFlowFuncEnter()
    111 
    112 #  undef LogFlowFuncLeave
    113 #  define LogFlowFuncLeave()
    114 
    115 #  undef Log2
    116 #  define Log2(x)
     105# if !defined(VBOX_NAT_MEM_DEBUG)
     106#  if defined (LOG_ENABLED)
     107#   undef LogFlowFunc
     108#   define LogFlowFunc(x)
     109
     110#   undef LogFlowFuncEnter
     111#   define LogFlowFuncEnter()
     112
     113#   undef LogFlowFuncLeave
     114#   define LogFlowFuncLeave()
     115
     116#   undef Log2
     117#   define Log2(x)
     118#  endif /* !LOG_ENABLED */
    117119# else /* VBOX_NAT_MEM_DEBUG */
    118120# define NAT_MEM_LOG_ENABLED
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