ref: 788a88b7f53da9af5750eda73e493ba9670328e5
parent: c94d53b5d178306adb0bb6bd856cc75a83dbb80b
author: robs <robs>
date: Tue Mar 31 04:13:20 EDT 2009
add solaris to pipe rewind
--- a/src/formats.c
+++ b/src/formats.c
@@ -397,7 +397,7 @@
fp->_r += AUTO_DETECT_SIZE;
#elif defined __GLIBC__
fp->_IO_read_ptr = fp->_IO_read_base;
-#elif defined _MSC_VER || defined __MINGW_H
+#elif defined _MSC_VER || defined __MINGW_H || _ISO_STDIO_ISO_H
fp->_ptr = fp->_base;
#else
/* To fix this #error, either simply remove the #error line and live without