From 800993aecc099b79c24063da11307015c0af0cd6 Mon Sep 17 00:00:00 2001 From: skarg Date: Fri, 25 Apr 2008 19:35:04 +0000 Subject: [PATCH] Updated files to be able to build under mingw32 for linux. --- bacnet-stack/build.bat | 2 ++ bacnet-stack/ports/win32/net.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bacnet-stack/build.bat b/bacnet-stack/build.bat index 5be1be67..40d0fd7e 100644 --- a/bacnet-stack/build.bat +++ b/bacnet-stack/build.bat @@ -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 diff --git a/bacnet-stack/ports/win32/net.h b/bacnet-stack/ports/win32/net.h index 52f338dc..9ae936e9 100644 --- a/bacnet-stack/ports/win32/net.h +++ b/bacnet-stack/ports/win32/net.h @@ -32,7 +32,7 @@ #include #if (!defined(USE_INADDR) || (USE_INADDR == 0)) && \ (!defined(USE_CLASSADDR) || (USE_CLASSADDR == 0)) -#include +#include #endif #include