[fpc-pascal] Wiki: platform defines
Sven Barth
pascaldragon at googlemail.com
Fri Jun 28 14:28:46 CEST 2019
Alexey Tor. <aaa5500 at ya.ru> schrieb am Fr., 28. Juni 2019, 12:16:
> https://wiki.freepascal.org/Platform_defines#Operating_system_defines
>
> I 've added all defines of OS. You can tell me if it's not ok. Missed
> one item: 'nativent' target. Seems some Win32 target? why new? Why it
> don't have extradefines "windows"?
>
>
> https://github.com/graemeg/freepascal/blob/master/compiler/systems/i_nativent.pas
It's a target that sits directly above the NT kernel, but below the Win32
subsystem. It can essentially be used to develop drivers and NT subsystems.
See also: https://wiki.freepascal.org/Target_NativeNT
As such defining "WINDOWS" would be wrong as code using the Win32 API would
not work there.
Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20190628/ada04b2a/attachment.html>
More information about the fpc-pascal
mailing list