Move some platform compile fixes into platform.h file

This commit is contained in:
Steve Karg
2024-02-08 14:54:17 -06:00
parent 46d686a8ab
commit 851d10bc02
2 changed files with 4 additions and 7 deletions
+4 -2
View File
@@ -40,8 +40,10 @@
# define BACNET_STACK_DEPRECATED(message)
# endif
# if defined(WIN32) || defined(WIN64)
# define strcasecmp _stricmp
#if defined(WIN32) || defined(WIN64)
#define strcasecmp _stricmp
#define strncasecmp _strnicmp
#define snprintf _snprintf
#elif defined(__ZEPHYR__)
# include <strings.h>
# endif