Line
Link Here
|
|
--- src/formats.c.old 2010-01-01 19:37:28.000000000 -0430 |
|
--- src/formats.c.old 2010-01-01 19:37:28.000000000 -0430 |
Lines 399-405
Link Here
|
399 |
#if defined _FSTDIO || defined _NEWLIB_VERSION || defined __APPLE__ |
399 |
#if defined _FSTDIO || defined _NEWLIB_VERSION || defined __APPLE__ |
400 |
fp->_p -= AUTO_DETECT_SIZE; |
400 |
fp->_p -= AUTO_DETECT_SIZE; |
401 |
fp->_r += AUTO_DETECT_SIZE; |
401 |
fp->_r += AUTO_DETECT_SIZE; |
402 |
#elif defined __GLIBC__ |
402 |
#elif defined __GLIBC__ && ! defined __UCLIBC__ |
403 |
fp->_IO_read_ptr = fp->_IO_read_base; |
403 |
fp->_IO_read_ptr = fp->_IO_read_base; |
404 |
#elif defined _MSC_VER || defined __MINGW_H || defined _ISO_STDIO_ISO_H |
404 |
#elif defined _MSC_VER || defined __MINGW_H || defined _ISO_STDIO_ISO_H |
405 |
fp->_ptr = fp->_base; |
405 |
fp->_ptr = fp->_base; |
Lines 407-413
Link Here
|
407 |
/* To fix this #error, either simply remove the #error line and live without |
407 |
/* To fix this #error, either simply remove the #error line and live without |
408 |
* file-type detection with pipes, or add support for your compiler in the |
408 |
* file-type detection with pipes, or add support for your compiler in the |
409 |
* lines above. Test with cat monkey.au | ./sox --info - */ |
409 |
* lines above. Test with cat monkey.au | ./sox --info - */ |
410 |
#error FIX NEEDED HERE |
410 |
/* #error FIX NEEDED HERE */ |
411 |
#define NO_REWIND_PIPE |
411 |
#define NO_REWIND_PIPE |
412 |
(void)fp; |
412 |
(void)fp; |
413 |
#endif |
413 |
#endif |
414 |
|
414 |
|