From 4a4cbd47aa81fb650ab8e469d9923b5ca9c82026 Mon Sep 17 00:00:00 2001 From: Per Malmberg Date: Tue, 12 Feb 2019 09:05:41 +0100 Subject: [PATCH] Disable warning in date.h --- libcron/CronSchedule.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/libcron/CronSchedule.h b/libcron/CronSchedule.h index f93479c..e619167 100644 --- a/libcron/CronSchedule.h +++ b/libcron/CronSchedule.h @@ -2,7 +2,15 @@ #include "CronData.h" #include -#include +#ifdef _WIN32 +#pragma warning(push) +#pragma warning(disable:4244) +#endif +#include +#ifdef _WIN32 +#pragma warning(pop) +#endif + #include "DateTime.h" namespace libcron