[lazarus] Need opinion

Peter Vreman pfvreman at wins.uva.nl
Wed Oct 27 06:36:20 EDT 1999


> >I guess the best way around this then is to create a Linux.pp file and add a 
> >
> >{$IFDEF LINUX}
> >uses blah blah, blah;
> >{$ELSE}
> >ues blah,windows,blah;
> >{$ENDIF}
> 
> Don't like this idea.
> 
> >>>> Michael Van Canneyt <michael.vancanneyt at wisa.be> 10/26/99 08:41AM >>>
> >
> >But windows.pp already exists for Windows. Thus you must make a
> replacement >file for linux only, and it should be compatible with the
> existing win32 >windows.pp
> 
> Yes, the file exists, but why can't we use it for MSWindows as wal as Linux ?

Never create a file with the same name as a unit in the RTL/FCL it'll only
create a lot of confusion.

just name the file soemthing like: 'lclwin' and 'lcllinux' if you really
need such files.


Peter






More information about the Lazarus mailing list