Adjusted RTOS-32 port for common demo programs.

This commit is contained in:
skarg
2006-02-05 03:02:49 +00:00
parent 2c269a7def
commit 89e1d3cd70
4 changed files with 203 additions and 213 deletions
+14 -14
View File
@@ -25,6 +25,7 @@
#ifndef NET_H
#define NET_H
/* network file for RTOS-32 from On-Time */
#define WIN32_LEAN_AND_MEAN
#define STRICT
@@ -33,19 +34,18 @@
#include <stdlib.h>
#include <process.h>
#ifndef HOST
#include <rttarget.h>
#include <rtk32.h>
#include <clock.h>
#include <socket.h>
#else
#include <winsock.h>
#ifdef BACDL_BIP
#include "bip.h"
#ifndef HOST
#include "netcfg.h"
#include <rttarget.h>
#include <rtk32.h>
#include <clock.h>
#include <socket.h>
#else
#include <winsock.h>
#endif
#define close closesocket
#endif
#define close closesocket
#endif
#endif