[xiph-commits] r9626 - icecast/trunk/icecast/src
msmith at svn.xiph.org
msmith at svn.xiph.org
Tue Jul 26 06:15:24 PDT 2005
Author: msmith
Date: 2005-07-26 06:15:22 -0700 (Tue, 26 Jul 2005)
New Revision: 9626
Modified:
icecast/trunk/icecast/src/logging.h
Log:
Fix for bug #688 as supplied by moinakg2002 at yahoo.com; make icecast
compilable with Sun's compiler
Modified: icecast/trunk/icecast/src/logging.h
===================================================================
--- icecast/trunk/icecast/src/logging.h 2005-07-26 01:15:05 UTC (rev 9625)
+++ icecast/trunk/icecast/src/logging.h 2005-07-26 13:15:22 UTC (rev 9626)
@@ -33,6 +33,10 @@
#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)
More information about the commits
mailing list