Commit 65cfce7b authored by Michael Smith's avatar Michael Smith

Fix for bug #688 as supplied by moinakg2002@yahoo.com; make icecast

compilable with Sun's compiler

svn path=/icecast/trunk/icecast/; revision=9626
parent 105570a1
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment