On 29/09/06, Tomas Hajny <[EMAIL PROTECTED]> wrote:
What would be your suggestion - change it to {$IF defined(UNIX) or
defined(NETWLIBC)}? I'd say that it would be better to make the interface
completely common, i.e. to get rid of these IFDEFs completely (e.g. by
including a record defined in platform specific part of the unit).

Tomas

Yeah, I just thought it is unnecessary code duplication and extra work
if it has to be maintained.  The record idea sounds like a good plan
and will get rid of the IFDEF's completely. Sound make the code much
easier to read as well.

Regards,
 - Graeme -
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to