Alexey Tor. <aaa5...@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
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to