Closed brechtsanders closed 6 months ago
When building version 0.9.2 on Windows with MinGW-w64 GCC the build failed with the following error.
sail-0.9.2/src/sail-common/utils.c:721:38: error: '_SH_DENYWR' undeclared (first use in this function) 721 | FILE *f = _wfsopen(wpath, L"rb", _SH_DENYWR); | ^~~~~~~~~~
When adding the following line at the top of src/sail-common/utils.c the build succeeds:
src/sail-common/utils.c
#include <share.h>
I haven't checked if this is an issue on other platforms or if share.h also exists on all platforms where sail normally builds.
share.h
50abb11
When building version 0.9.2 on Windows with MinGW-w64 GCC the build failed with the following error.
When adding the following line at the top of
src/sail-common/utils.c
the build succeeds:I haven't checked if this is an issue on other platforms or if
share.h
also exists on all platforms where sail normally builds.