gcc DLL static initialization compatibility fixes
Authored by: lomecb 2005-09-17
Parent: [r660]
Child: [r662]