From a1bc73b4bcbab1b471bcdc1523f375bc9b7b8ddf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wolfgang=20St=C3=B6ggl?= Date: Wed, 27 Mar 2019 16:59:24 +0100 Subject: [PATCH] Remove strftime.c and strftime.h from MSVC builds - Recent versions of MSVC (VS2015 and newer) properly support strftime including formatting codes like %F, %T or %V (ISO 8601) --- src/rrd_graph.c | 6 ------ win32/Makefile.msc | 1 - win32/librrd-4.vcxproj | 2 -- 3 files changed, 9 deletions(-) diff --git a/src/rrd_graph.c b/src/rrd_graph.c index 39c7fc4f..53d3cae3 100644 --- a/src/rrd_graph.c +++ b/src/rrd_graph.c @@ -7,12 +7,6 @@ #include - - -#if defined(_WIN32) && !defined(__MINGW32__) -#include "strftime.h" -#endif - #include "rrd_strtod.h" #include "rrd_tool.h" diff --git a/win32/Makefile.msc b/win32/Makefile.msc index 0aacace8..fa266347 100644 --- a/win32/Makefile.msc +++ b/win32/Makefile.msc @@ -80,7 +80,6 @@ RRD_LIB_OBJ_LIST = \ $(TOP)/src/rrd_utils.obj \ $(TOP)/src/rrd_version.obj \ $(TOP)/src/rrd_xport.obj \ - $(TOP)/src/strftime.obj \ $(TOP)/win32/asprintf.obj \ $(TOP)/win32/vasprintf-msvc.obj \ $(TOP)/win32/win32-glob.obj diff --git a/win32/librrd-4.vcxproj b/win32/librrd-4.vcxproj index a6baf5c2..0cae4611 100644 --- a/win32/librrd-4.vcxproj +++ b/win32/librrd-4.vcxproj @@ -251,7 +251,6 @@ - @@ -283,7 +282,6 @@ - -- 2.47.2