]> granicus.if.org Git - graphviz/commit
implement a 'S_ISDIR' shim for Windows
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 16 Apr 2022 22:01:35 +0000 (15:01 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 24 Apr 2022 15:52:41 +0000 (08:52 -0700)
commit165e3a82a55864b00e33b05def635658ab0fa32b
tree78784752187e429e02064f03e3f8b6c079f08902
parent5757372443a58d0bfdf0f5c0130a6d77fed81427
implement a 'S_ISDIR' shim for Windows

This will enable further migration away from lib/ast/compat_unistd.h. Note that
the `S_ISDIR` wrapper there appears incorrect, in using a platform-specific
constant for the mask. Its definition of `X_OK` also seems incorrect, as this
value has no documented meaning when calling `_access` on Windows.

Gitlab: #2204
windows/include/unistd/unistd.h