Minor changes in msvc6 port...

This commit is contained in:
fbernon 2007-09-21 21:53:29 +00:00
parent 9e245185ea
commit fd10bcac7e
3 changed files with 8 additions and 8 deletions

View File

@ -144,7 +144,7 @@ a lot of data that needs to be copied, this should be set high. */
* for certain critical regions during buffer allocation, deallocation and memory
* allocation and deallocation.
*/
#define SYS_LIGHTWEIGHT_PROT 1
#define SYS_LIGHTWEIGHT_PROT (NO_SYS==0)
/* ---------- TCP options ---------- */
#define LWIP_TCP 1
@ -237,7 +237,7 @@ a lot of data that needs to be copied, this should be set high. */
/* ---------- PPP options ---------- */
#define PPP_SUPPORT 1 /* Set > 0 for PPP */
#define PPP_SUPPORT 0 /* Set > 0 for PPP */
#if PPP_SUPPORT > 0

View File

@ -36,10 +36,9 @@
#include <windows.h>
#include <time.h>
#include <arch/cc.h>
#include <lwip/opt.h>
#include <lwip/stats.h>
#include <lwip/arch.h>
#include <lwip/debug.h>
#include <lwip/sys.h>

View File

@ -27,7 +27,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* test.c - This file is part of lwIPtest
* test.c - This file is part of lwIP test
*
*/
@ -41,9 +41,12 @@
#include "lwip/debug.h"
#include "lwip/stats.h"
#include "lwip/sockets.h"
#include "lwip/init.h"
#include "lwip/tcpip.h"
#include "lwip/tcp.h"
#include "lwip/udp.h"
#include "netif/loopif.h"
#include "httpd.h"
@ -115,9 +118,7 @@ void mcast_init(void)
remote_addr.addr = inet_addr("232.0.0.0");
LOCK_TCPIP_CORE();
err = udp_sendto(pcb, p, &remote_addr, ntohs(20000));
UNLOCK_TCPIP_CORE();
pbuf_free(p);
}