Mattias Gaertner wrote:
On Fri, 17 Feb 2006 10:31:22 -0300
Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote:
Hello,
This patch makes Windows CE interface compile while keeping
compatibility with FPC 2.0.2.
The WinCE widgetset is a empty shell, but it compiles with the arm cross
compiler and runs on the emulator without problems.
Does FPC provide a Define for all windows platforms?
win32 or win64 or wince = ?
That define is 'windows', but not yet in 2.0.2.
Instead of these snippets, we could add -dWindows in the makefile if the
OS_TARGET is win32.
+// FPC <= 2.0.2 compatibility code
+// WINDOWS define was added after FPC 2.0.2
+{$ifdef win32}
+ {$define WINDOWS}
+{$endif}
Vincent.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives