test: fix compiling unit test on win32

This commit is contained in:
Simon Goldschmidt
2019-01-30 14:53:41 +01:00
parent 2cc420e434
commit 2037ec371c
4 changed files with 12 additions and 7 deletions

View File

@@ -102,10 +102,8 @@ void lwip_win32_platform_diag(const char *format, ...);
#define LWIP_PLATFORM_DIAG(x) lwip_win32_platform_diag x
#endif
#ifndef LWIP_NORAND
extern unsigned int sys_win_rand(void);
#define LWIP_RAND() (sys_win_rand())
#endif
extern unsigned int lwip_port_rand(void);
#define LWIP_RAND() (lwip_port_rand())
#define PPP_INCLUDE_SETTINGS_HEADER