1
0
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:
Michael Smith 2005-07-26 13:15:22 +00:00
parent 105570a1eb
commit 65cfce7b53

View File

@ -33,6 +33,10 @@ extern int playlistlog;
#define __FUNCTION__ strrchr (__FILE__, '\\') ? strrchr (__FILE__, '\\') + 1 : __FILE__ #define __FUNCTION__ strrchr (__FILE__, '\\') ? strrchr (__FILE__, '\\') + 1 : __FILE__
#endif #endif
#ifdef __SUNPRO_C
#define __FUNCTION__ __func__
#endif
#define ERROR0(y) log_write(errorlog, 1, CATMODULE "/", __FUNCTION__, y) #define ERROR0(y) log_write(errorlog, 1, CATMODULE "/", __FUNCTION__, y)
#define ERROR1(y, a) log_write(errorlog, 1, CATMODULE "/", __FUNCTION__, y, a) #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) #define ERROR2(y, a, b) log_write(errorlog, 1, CATMODULE "/", __FUNCTION__, y, a, b)