* fixed setting up the global switch for main programs without a "program"
    header on platforms not in systems_unit_program_exports

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@26975 3ad0048d-3df7-0310-abae-a5850022a9f2