Mail Archives: djgpp-workers/1996/04/14/08:38:55
On Sun, 14 Apr 1996, DJ Delorie wrote:
> > do need to know about binary files, and include O_BINARY in the original
> > sources where they are needed. They can always define it to be 0 on Unix
> > systems.
>
> My preferred solution is to add this to the beginning of the relevent
> source files:
>
> #ifndef O_BINARY
> #define O_BINARY 0
> #endif
That's what I had in mind, but I also think that every package should
already include such a definition, so that you don't have to add anything
(at least on behalf of this issue) to the original sources; *then* it
might be called ``clean''.
- Raw text -