__FUNCTION__ isn't a general macro, it isn't defined by Sun C compilor
|Reported by:||jerryyu||Owned by:||zany|
After enable debug of openobex, there's a compiling error about the macro
"FUNCTION" on Solaris platform, it's because func instead of
FUNCTION is defined in Solaris.