mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Fix for bug #688 as supplied by moinakg2002@yahoo.com; make icecast
compilable with Sun's compiler svn path=/icecast/trunk/icecast/; revision=9626
This commit is contained in:
parent
105570a1eb
commit
65cfce7b53
@ -33,6 +33,10 @@ extern int playlistlog;
|
||||
#define __FUNCTION__ strrchr (__FILE__, '\\') ? strrchr (__FILE__, '\\') + 1 : __FILE__
|
||||
#endif
|
||||
|
||||
#ifdef __SUNPRO_C
|
||||
#define __FUNCTION__ __func__
|
||||
#endif
|
||||
|
||||
#define ERROR0(y) log_write(errorlog, 1, CATMODULE "/", __FUNCTION__, y)
|
||||
#define ERROR1(y, a) log_write(errorlog, 1, CATMODULE "/", __FUNCTION__, y, a)
|
||||
#define ERROR2(y, a, b) log_write(errorlog, 1, CATMODULE "/", __FUNCTION__, y, a, b)
|
||||
|
Loading…
Reference in New Issue
Block a user