> [snip]
> #ifndef WIN32
> #define pgpipe(a) pipe(a)
> #define piperead(a,b,c) read(a,b,c)
> #define pipewrite(a,b,c) write(a,b,c)
> #else
> extern int pgpipe(int handles[2]);
> extern int piperead(a,b,c);
> extern int pipewrite(a,b,c);
> #endif
>
> And then put piperead() and pipewrite() along with pgpipe() in the C
> file. (Naturally, arguments with the correct syntax, but you get the
> idea)
> [snip]
Ah, now it is clear what you meant.
You want to submit the patch?
Cheers,
Claudio
---
Certain disclaimers and policies apply to all email sent from Memetrics.
For the full text of these disclaimers and policies see
<a
href="http://www.memetrics.com/emailpolicy.html">http://www.memetrics.com/em
ailpolicy.html</a>