[fpc-devel] Windows Defines

Daniël Mantione daniel.mantione at freepascal.org
Fri Feb 17 13:31:52 CET 2006



Op Fri, 17 Feb 2006, schreef Oro06:

> this could not work ? (i think i already use it )
> 
> {$if defined(win32) or defined(wince)}
> 
> {$endif}

Of course it can, but I think the ultimate goal is to make all source code 
files {$ifdef windows}. Forcing the define in a global include file will 
make that possible with the current compilers.

Daniël


More information about the fpc-devel mailing list