- rename log functions to stop conflicts under win32 (wingdi)