> how can I test - at runtime - under which OS (Linux, Windows and so on) 
> a FPC-program is running?

  {$IFDEF unix}
     http://www.freepascal.org/docs-html/rtl/baseunix/fpuname.html
  {$ELSE}
    {IFDEF WIN32}
      http://msdn.microsoft.com/library/en-us/sysinfo/base/getversionex.asp
    {$ENDIF}
  {$ENDIF}

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to