mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-09-14 03:56:41 +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>
|
</FileConfiguration>
|
||||||
</File>
|
</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
|
<File
|
||||||
RelativePath="$(LWIP_DIR)\src\netif\ppp\ppp_oe.c"
|
RelativePath="$(LWIP_DIR)\src\netif\ppp\ppp_oe.c"
|
||||||
>
|
>
|
||||||
|
@ -81,8 +81,7 @@
|
|||||||
|
|
||||||
#if PPP_SUPPORT
|
#if PPP_SUPPORT
|
||||||
/* PPP includes */
|
/* PPP includes */
|
||||||
#include "../netif/ppp/ppp.h"
|
#include "../netif/ppp/ppp_impl.h"
|
||||||
#include "../netif/ppp/lcp.h"
|
|
||||||
#include "lwip/sio.h"
|
#include "lwip/sio.h"
|
||||||
#include "netif/ppp_oe.h"
|
#include "netif/ppp_oe.h"
|
||||||
#endif /* PPP_SUPPORT */
|
#endif /* PPP_SUPPORT */
|
||||||
@ -529,11 +528,11 @@ void main_loop()
|
|||||||
started = sys_now();
|
started = sys_now();
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
#if USE_ETHERNET
|
#if USE_ETHERNET && !PCAPIF_RX_USE_THREAD
|
||||||
pcapif_poll(&netif);
|
pcapif_poll(&netif);
|
||||||
#else /* USE_ETHERNET */
|
#else /* USE_ETHERNET && !PCAPIF_RX_USE_THREAD */
|
||||||
sys_msleep(50);
|
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 */
|
/* @todo: need a better check here: only wait until PPP is down */
|
||||||
} while(sys_now() - started < 5000);
|
} while(sys_now() - started < 5000);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user