vsg-dev/vsgXchange

MinGW compile error: 'S_IFSOCK' undeclared

Closed this issue · 0 comments

Building vsgXchange with MinGW fails with the following error:

home/abuild/rpmbuild/BUILD/vsgXchange-0.0.1+20211222+git.145b2d9/src/ktx/libktx/filestream.c: In function 'ktxFileStream_getsize':
[  116s] /home/abuild/rpmbuild/BUILD/vsgXchange-0.0.1+20211222+git.145b2d9/src/ktx/libktx/filestream.c:327:38: error: 'S_IFSOCK' undeclared (first use in this function)
[  116s]   327 |     if (ftype == S_IFIFO || ftype == S_IFSOCK)