VirtualBox

Ignore:
Timestamp:
Feb 20, 2014 1:42:31 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
92363
Message:

Update the set of mem_* defines to match new lwip. Not that it
affects anything since we use MEM_LIBC_MALLOC, but be nice.

File:
1 edited

Legend:

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

    r50074 r50517  
    8989#define netif_set_up lwip_netif_set_up
    9090#if MEM_LIBC_MALLOC == 0
     91#if MEM_USE_POOLS == 0
     92#define mem_init lwip_mem_init
     93#define mem_trim lwip_mem_trim
     94#endif  /* !MEM_USE_POOLS */
     95#define mem_malloc lwip_mem_malloc
     96#define mem_calloc lwip_mem_calloc
    9197#define mem_free lwip_mem_free
    92 #define mem_init lwip_mem_init
    93 #define mem_malloc lwip_mem_malloc
    94 #define mem_realloc lwip_mem_realloc
    95 #endif
     98#endif  /* !MEM_LIBC_MALLOC */
    9699#define memp_free lwip_memp_free
    97100#define memp_init lwip_memp_init
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