]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commit
Fix build errors (MinGW-w64) 844/head
authorWolfgang Stöggl <c72578@yahoo.de>
Mon, 27 Nov 2017 14:03:24 +0000 (15:03 +0100)
committerWolfgang Stöggl <c72578@yahoo.de>
Mon, 27 Nov 2017 14:03:24 +0000 (15:03 +0100)
commitda07aca2e4e81d08629b6a89af30d0025d460356
tree7695539a4e0a305744518bb0a2556f907107bb02
parent239ebb69d486d57012ae41f38b8c80b9680e4221
Fix build errors (MinGW-w64)

- rrd.h, fixed build error:
  rrd.h:66:17: error: conflicting types for 'ssize_t'
  typedef size_t ssize_t;
  Remark: MinGW-w64 has ssize_t and off_t
- rrd_restore.c, fixed build error:
  rrd_restore.c:29:17: error: conflicting types for 'ssize_t'
  typedef size_t ssize_t;
- rrd_utils.c, fixed build error:
  rrd_utils.c:226:10: error: too many arguments to function 'mkdir'
     if ((mkdir(pathname, mode) != 0) && (errno != EEXIST)) {
src/rrd.h
src/rrd_restore.c
src/rrd_utils.c