Sign in Join

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

Mailing lists / lazarus / 2009-11

IFDEF for both Windows and WinCE

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Marco van de Voort
to Graeme Geldenhuys
Graeme Geldenhuys wrote 5 lines
Does the following IFDEF cover both Windows and WinCE platforms? {$IFDEF MSWINDOWS} ... {$ENDIF}

As far as I can see it (*), CE does define windows and does not define mswindows.

(*) for quick lookup of such details, have a look at the platform
definitions in compiler/systems/i_*

Reply by email

Graeme Geldenhuys
to Marco van de Voort
Marco van de Voort wrote 5 lines
As far as I can see it (*), CE does define windows and does not define mswindows. (*) for quick lookup of such details, have a look at the platform definitions in compiler/systems/i_*

Thanks for that tip. It seems IFDEF WINDOWS will cover both cases.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/

Reply by email