From: Wolfgang Stöggl Date: Wed, 27 Mar 2019 15:59:24 +0000 (+0100) Subject: Remove strftime.c and strftime.h from MSVC builds X-Git-Tag: v1.7.2~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a1bc73b4bcbab1b471bcdc1523f375bc9b7b8ddf;p=thirdparty%2Frrdtool-1.x.git 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) --- 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 @@ -