Quote Originally Posted by dmantione
The magic here is the {$DEFINE FPC_SYSTEM_HAS_MOD_LONGINT}, which instructs the system unit not to include the default fpc_mod_longint. It must be defined before generic.inc gets procesed; it might help moving this define up to the top of the file.
And - of course - this way it works...
I was losing myself in tons of include :doh:

It is impressive how quick you answer my questions... Next time I'm thinking that your reply will arrive even before my (stupid) question. :lol:
Thanks