VirtualBox

Changeset 14293 in vbox


Ignore:
Timestamp:
Nov 18, 2008 12:15:27 PM (16 years ago)
Author:
vboxsync
Message:

redirecting 64 workaround macro definitions to works like in 32bit world
in case both VBOX_WITH_BSD_REASS and VBOX_WITH_BSD_TCP_REASS are defined

File:
1 edited

Legend:

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

    r14275 r14293  
    5555# include <iprt/assert.h>
    5656
     57#if defined(VBOX_WITH_BSD_TCP_REASS) && defined(VBOX_WITH_BSD_REASS)
     58# define u32ptr_done(pData, u32, ptr)  do {} while (0)
     59# define ptr_to_u32(pData, ptr)        (ptr)
     60# define u32_to_ptr(pData, u32, type)  ((type)(u32))
     61#else /* VBOX_WITH_BSD_REASS && VBOX_WITH_BSD_TCP_REASS */
    5762# define u32ptr_done(pData, u32, ptr) VBoxU32PtrDone((pData), (ptr), (u32))
    5863# define ptr_to_u32(pData, ptr)       VBoxU32PtrHash((pData), (ptr))
    5964# define u32_to_ptr(pData, u32, type) ((type)VBoxU32PtrLookup((pData), (u32)))
     65#endif /* !VBOX_WITH_BSD_REASS || !VBOX_WITH_BSD_TCP_REASS*/
    6066
    6167#endif
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