[haiku-development] Re: "Rewind" a pipe?

  • From: François Revol <revol@xxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sat, 26 Jan 2013 01:20:15 +0100

On 26/01/2013 00:48, Pete Goodeve wrote:
> Hi,
> 
> Can haiku do any sort of "rewind" on a pipe?  Building the latest
> "sox" (Sound Exchange) app I hit this little piece of code:
> 
> ... and of course the compiler hit the "#error" line.  For now, I've just
> commented it out as suggested, and the rest of the build goes through,
> but if haiku can do it too it would be nice.

Well we use glibc, but it's an old version, and we don't install the
glibc headers I think...

Hmm actually it seems the FILE structure is declared in libio.h,
included by stdio.h...

You should be able to add the __GLIBC__ define somewhere in the
Makefile/configure then.

François.

Other related posts: