Use __FUNCTION__ instead of __func__.

This is supported by more compilers.