]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
Remove strftime.c and strftime.h from MSVC builds
authorWolfgang Stöggl <c72578@yahoo.de>
Wed, 27 Mar 2019 15:59:24 +0000 (16:59 +0100)
committerTobias Oetiker <tobi@oetiker.ch>
Thu, 28 Mar 2019 06:52:52 +0000 (07:52 +0100)
- Recent versions of MSVC (VS2015 and newer) properly support strftime
  including formatting codes like %F, %T or %V (ISO 8601)

src/rrd_graph.c
win32/Makefile.msc
win32/librrd-4.vcxproj

index 39c7fc4f179f67ee41d889c3549f37bd8101e987..53d3cae33f5924d0b8788b840d136fc519efa238 100644 (file)
@@ -7,12 +7,6 @@
 
 #include <sys/stat.h>
 
-
-
-#if defined(_WIN32) && !defined(__MINGW32__)
-#include "strftime.h"
-#endif
-
 #include "rrd_strtod.h"
 
 #include "rrd_tool.h"
index 0aacace8f3491107196ec20ee86599679702a077..fa266347ebd7811015fb657b0cf618d4e26764d6 100644 (file)
@@ -80,7 +80,6 @@ RRD_LIB_OBJ_LIST = \
         $(TOP)/src/rrd_utils.obj \\r
         $(TOP)/src/rrd_version.obj \\r
         $(TOP)/src/rrd_xport.obj \\r
-        $(TOP)/src/strftime.obj \\r
         $(TOP)/win32/asprintf.obj \\r
         $(TOP)/win32/vasprintf-msvc.obj \\r
         $(TOP)/win32/win32-glob.obj\r
index a6baf5c2e35c841c016b79c9952ac905c6623aa0..0cae4611b7f808b6a07261ae56dac5f9ab26ed3c 100644 (file)
     <ClCompile Include="..\src\rrd_utils.c" />
     <ClCompile Include="..\src\rrd_version.c" />
     <ClCompile Include="..\src\rrd_xport.c" />
-    <ClCompile Include="..\src\strftime.c" />
     <ClCompile Include="asprintf.c" />
     <ClCompile Include="vasprintf-msvc.c" />
     <ClCompile Include="win32-glob.c" />
     <ClInclude Include="..\src\rrd_tool.h" />
     <ClInclude Include="..\src\rrd_update.h" />
     <ClInclude Include="..\src\rrd_xport.h" />
-    <ClInclude Include="..\src\strftime.h" />
     <ClInclude Include="..\src\unused.h" />
     <ClInclude Include="rrd_config.h" />
     <ClInclude Include="win32-glob.h" />