mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-10-05 18:56:32 +00:00
win32 port: fixed compilation of test.c, added ppp_impl.h to project
This commit is contained in:
parent
e3bcc2fe4e
commit
c662bb3aa3
@ -1254,6 +1254,24 @@
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="$(LWIP_DIR)\src\netif\ppp\ppp_impl.h"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="$(LWIP_DIR)\src\netif\ppp\ppp_oe.c"
|
||||
>
|
||||
|
@ -81,8 +81,7 @@
|
||||
|
||||
#if PPP_SUPPORT
|
||||
/* PPP includes */
|
||||
#include "../netif/ppp/ppp.h"
|
||||
#include "../netif/ppp/lcp.h"
|
||||
#include "../netif/ppp/ppp_impl.h"
|
||||
#include "lwip/sio.h"
|
||||
#include "netif/ppp_oe.h"
|
||||
#endif /* PPP_SUPPORT */
|
||||
@ -529,11 +528,11 @@ void main_loop()
|
||||
started = sys_now();
|
||||
do
|
||||
{
|
||||
#if USE_ETHERNET
|
||||
#if USE_ETHERNET && !PCAPIF_RX_USE_THREAD
|
||||
pcapif_poll(&netif);
|
||||
#else /* USE_ETHERNET */
|
||||
#else /* USE_ETHERNET && !PCAPIF_RX_USE_THREAD */
|
||||
sys_msleep(50);
|
||||
#endif /* USE_ETHERNET */
|
||||
#endif /* USE_ETHERNET && !PCAPIF_RX_USE_THREAD */
|
||||
/* @todo: need a better check here: only wait until PPP is down */
|
||||
} while(sys_now() - started < 5000);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user