From bcdc4fef88db45be1ecfeb63fc3ed5f4560edbb4 Mon Sep 17 00:00:00 2001 From: Max Paperno Date: Sat, 31 Dec 2016 11:41:37 -0500 Subject: [PATCH] [libsimulator] Fix MSVC build. --- radio/src/rtc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radio/src/rtc.h b/radio/src/rtc.h index 5ddc31186..ad43fc9c8 100644 --- a/radio/src/rtc.h +++ b/radio/src/rtc.h @@ -27,8 +27,8 @@ #define SECS_PER_DAY 86400ul #define TM_YEAR_BASE 1900 -#define TIME_T_MIN (-__LONG_MAX__) -#define TIME_T_MAX (__LONG_MAX__) +#define TIME_T_MIN (-LONG_MAX) +#define TIME_T_MAX (LONG_MAX) typedef long int gtime_t;