Mattias Gaertner wrote:

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.

It's certainly in 2.2.0 if not earlier, and as I've observed Lazarus now requires >2.4.4 to build.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

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

Reply via email to