[fpc-pascal] switch units depending on OS and lib version

Marc Santhoff M.Santhoff at web.de
Tue Jun 16 14:30:57 CEST 2009


Hi!

There is a pascal wrapper for a library.
The library comes in different versions.
The library is specialized per operating system.

How can I make fpc pick the right OS- and release version of the
library?

I know I could fiddle something using ifdef's, but since the rtl is
build around selection per os and cpu there seems to be a better way
(regarding include files?).

TIA,
-- 
Marc Santhoff <M.Santhoff at web.de>




More information about the fpc-pascal mailing list