summaryrefslogtreecommitdiff
path: root/src/xine-utils/utils.c
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2001-11-30 00:53:50 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2001-11-30 00:53:50 +0000
commit873578a7965683e3e76420731c1d571908b54848 (patch)
treecd8153e478f39f9aac7c851672996a8e58ace71e /src/xine-utils/utils.c
parentad5f52afbed82f29ba0816255edf1ff63533a2ff (diff)
downloadxine-lib-873578a7965683e3e76420731c1d571908b54848.tar.gz
xine-lib-873578a7965683e3e76420731c1d571908b54848.tar.bz2
Valid mrls are no more static (except few ones), like file suffix too.
First draft of compat.h (almost empty for now). CVS patchset: 1139 CVS date: 2001/11/30 00:53:50
Diffstat (limited to 'src/xine-utils/utils.c')
-rw-r--r--src/xine-utils/utils.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/xine-utils/utils.c b/src/xine-utils/utils.c
index 3fe910b15..11e45e5cd 100644
--- a/src/xine-utils/utils.c
+++ b/src/xine-utils/utils.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: utils.c,v 1.3 2001/11/17 22:40:01 miguelfreitas Exp $
+ * $Id: utils.c,v 1.4 2001/11/30 00:53:51 f1rmb Exp $
*
*/
#define _POSIX_PTHREAD_SEMANTICS 1 /* for 5-arg getpwuid_r on solaris */
@@ -36,10 +36,7 @@
#include <sys/types.h>
#include <pthread.h>
-#ifndef __GNUC__
-#define __FUNCTION__ __func__
-#endif
-
+#include "compat.h"
/*
*
@@ -49,7 +46,7 @@ void *xine_xmalloc(size_t size) {
if((ptr = malloc(size)) == NULL) {
fprintf(stderr, "%s: malloc() failed: %s.\n",
- __FUNCTION__, strerror(errno));
+ __XINE_FUNCTION__, strerror(errno));
return NULL;
}