]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commit
Update strftime.c and use it under MinGW
authorWolfgang Stöggl <c72578@yahoo.de>
Thu, 28 Mar 2019 14:10:05 +0000 (15:10 +0100)
committerTobias Oetiker <tobi@oetiker.ch>
Thu, 28 Mar 2019 17:08:46 +0000 (18:08 +0100)
commit0cac67347a4ea32e53bd0393f47b658385cdaaf6
tree80842b4ab5e6dd9febde751b408368fa1b0e47e3
parenta1bc73b4bcbab1b471bcdc1523f375bc9b7b8ddf
Update strftime.c and use it under MinGW

- Add %F and %T to strftime.c
  These format codes are commonly used, part of C99 and used in the
  test vformatter1
- rrd_graph.c: Include local strftime.h and use strftime_ from
  strftime.c in case of MinGW or MinGW-w64 builds.
- This allows test vformatter1 to pass under MSYS2 (MinGW-w64)
src/Makefile.am
src/rrd_graph.c
src/strftime.c