VirtualBox

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


Ignore:
Timestamp:
Dec 8, 2008 8:09:03 AM (16 years ago)
Author:
vboxsync
Message:

simplification

File:
1 edited

Legend:

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

    r15092 r15094  
    1111#include <iprt/assert.h>
    1212
    13 #if !defined(VBOX_WITH_SIMPLIFIED_SLIRP_SYNC) || (defined(VBOX_WITH_SIMPLIFIED_SLIRP_SYNC) && !defined(RT_OS_WINDOWS))
     13#if !defined(VBOX_WITH_SIMPLIFIED_SLIRP_SYNC) || !defined(RT_OS_WINDOWS)
    1414# define DO_ENGAGE_EVENT1(so, fdset, label)             \
    1515        do {                                            \
     
    2525                UPD_NFDS((so)->s);                      \
    2626        } while(0)
    27 #else /* !defined(VBOX_WITH_SIMPLIFIED_SLIRP_SYNC) || (defined(VBOX_WITH_SIMPLIFIED_SLIRP_SYNC) && !defined(RT_OS_WINDOWS) */
     27#else /* defined(VBOX_WITH_SIMPLIFIED_SLIRP_SYNC) && defined(RT_OS_WINDOWS) */
    2828# define DO_ENGAGE_EVENT1(so, fdset0, label)                                                            \
    2929        do {                                                                                            \
     
    3939
    4040# define DO_ENGAGE_EVENT2(so, fdset0, fdset1, label) DO_ENGAGE_EVENT1((so), (fdset0), label)
    41 #endif
     41#endif /* defined(VBOX_WITH_SIMPLIFIED_SLIRP_SYNC) && defined(RT_OS_WINDOWS) */
    4242
    4343# define TCP_ENGAGE_EVENT1(so, fdset0)                   \
    4444        DO_ENGAGE_EVENT1((so), (fdset0), TCP)
    4545
    46 # define TCP_ENGAGE_EVENT2(so, fdset0, fdset1)               \
     46# define TCP_ENGAGE_EVENT2(so, fdset0, fdset1)           \
    4747        DO_ENGAGE_EVENT2((so), (fdset0), (fdset1), TCP)
    4848
    49 #define UDP_ENGAGE_EVENT(so, fdset) DO_ENGAGE_EVENT1((so), (fdset), UDP)
     49#define UDP_ENGAGE_EVENT(so, fdset) \
     50        DO_ENGAGE_EVENT1((so), (fdset), UDP)
    5051
    5152static const uint8_t special_ethaddr[6] = {
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