On Tue, 13 Sep 2011 15:56:07 +0100
Martin <[email protected]> wrote:

> On 13/09/2011 15:17, Mark Morgan Lloyd wrote:
> > Martin wrote:
> >>
> >>
> >> I added a ifdef, as found in the fpc source.
> >>
> >> Most curious that it depends on CPUsparc , instead of OSsomething.
> >
> > But Solaris and some other OSes have their own implementations of 
> > ostypes.inc, with constants eventually expressed by FPC's BaseUnix unit.
> >
> > Is there any particular reason that you're redefining O_NONBLOCK, 
> > rather than using the one from BaseUnix?
> 
> I didn't.
> 
> I am mainly windows. I have linux in a VM for testing.  I did use libs, 
> I was told I can't. Mattias provided the IdeMiniLibc. Where he took the 
> values from I do not know.

The C header files I found on Linux.

 
> If baseunix can be used then that is probably fine too.

At the time of writing the value did not exist in the BaseUnix.
The IDEMiniLibc has a comment about only putting things there that do
not exist in the RTL.
If the value now exists, then it should be removed from IDEMiniLibc.

Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to