Updated files to be able to build under mingw32 for linux.

This commit is contained in:
skarg
2008-04-25 19:35:04 +00:00
parent d51b8f161d
commit 800993aecc
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -7,3 +7,5 @@ rem %BORLAND_DIR%\bin\make -f makefile.b32 all
rem Build for MinGW
make BACNET_PORT=win32 OPTIMIZATION=-Os DEBUGGING= clean all
rem On Linux, install mingw32 and use this:
rem make BACNET_PORT=win32 OPTIMIZATION=-Os DEBUGGING= CC=i586-mingw32msvc-gcc AR=i586-mingw32msvc-ar clean all
+1 -1
View File
@@ -32,7 +32,7 @@
#include <windows.h>
#if (!defined(USE_INADDR) || (USE_INADDR == 0)) && \
(!defined(USE_CLASSADDR) || (USE_CLASSADDR == 0))
#include <Iphlpapi.h>
#include <iphlpapi.h>
#endif
#include <winsock2.h>