Added support for Visual Studio 2015.

Fixed some WIN32 specific compile issues.
Changed MinGW build to use _NO_OLDNAMES so that it compatible with MSVC.
Thank you John LaFontaine for the contribution!
This commit is contained in:
skarg
2015-11-10 21:08:05 +00:00
parent 814bb171cd
commit ca5a9bff94
11 changed files with 806 additions and 4 deletions
+5 -1
View File
@@ -61,7 +61,7 @@
/* os specfic includes */
#include "timer.h"
#if defined(__BORLANDC__)
#if defined(__BORLANDC__) || defined(_WIN32)
/* seems to not be defined in time.h as specified by The Open Group */
/* difference from UTC and local standard time */
long int timezone;
@@ -79,8 +79,12 @@ bool Routed_Device_Write_Property_Local(
#if !defined(BAC_ROUTING)
#ifdef _MSC_VER
#pragma message This file should not be included in the build unless BAC_ROUTING is enabled.
#else
#warning This file should not be included in the build unless BAC_ROUTING is enabled.
#endif
#endif
/****************************************************************************
************* BACnet Routing Functionality (Optional) **********************