The FILE type is completely opaque in VS2015, so the rewind_pipe()
hack is not possible.
---
src/formats.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/formats.c b/src/formats.c
index 724a4cdac808..f3efe764cbb2 100644
--- a/src/formats.c
+++ b/src/formats.c
@@ -415,6 +415,8 @@ static void UNUSED rewind_pipe(FILE * fp)
fp->_r += PIPE_AUTO_DETECT_SIZE;
#elif defined __GLIBC__
fp->_IO_read_ptr = fp->_IO_read_base;
+#elif defined _MSC_VER && _MSC_VER >= 1900
+ #define NO_REWIND_PIPE
#elif defined _MSC_VER || defined _WIN32 || defined _WIN64 || \
defined _ISO_STDIO_ISO_H || defined __sgi
fp->_ptr = fp->_base;
--
2.17.0
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
SoX-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sox-devel