Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2019-06

Wiki: platform defines

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Sven Barth
to Alexey Tor.

Alexey Tor. schrieb am Fr., 28. Juni 2019, 12:16:

Show quoted text 8 lines
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