]> granicus.if.org Git - graphviz/commit
sfio: fix misuse of 'HAVE_SYS_STAT_H'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 25 Apr 2022 04:09:02 +0000 (21:09 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 29 Apr 2022 00:01:16 +0000 (17:01 -0700)
commit5bbd2b6d9eacb3784394e72e956db29d4dda1af9
tree5e2b4ecea7c0786aaf5ad71bc5f19ebf9bb3ddbb
parent5b50759ab0df5669a7f69d0b260f002e24d09390
sfio: fix misuse of 'HAVE_SYS_STAT_H'

When sys/stat.h is unavailable, `HAVE_SYS_STAT_H` is not `0`. It is undefined,
which was leading to a malformed expression here. This was exposed by the next
commit.
lib/sfio/sfsetbuf.c