1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2025-01-03 14:56:34 -05:00

win32 patches from Ed

svn path=/trunk/icecast/; revision=3123
This commit is contained in:
Jack Moffitt 2002-03-05 23:59:38 +00:00
parent cb9de1ee2a
commit 39635122a5
2 changed files with 5 additions and 4 deletions

View File

@ -14,7 +14,7 @@ extern int accesslog;
*/
#ifdef _WIN32
#define __FUNCTION__ __FILE__ ":" __LINE__
#define __FUNCTION__ __FILE__
#endif
#define ERROR0(y) log_write(errorlog, 1, CATMODULE "/" __FUNCTION__, y)

View File

@ -25,16 +25,17 @@
#include <time.h>
#include <sys/types.h>
#include <pthread.h>
#ifndef _WIN32
#include <unistd.h>
#include <sys/time.h>
#else
#include <windows.h>
#include <winbase.h>
#include <implement.h>
#endif
#include <pthread.h>
#include <signal.h>
#include "log.h"
@ -42,7 +43,7 @@
#include "avl.h"
#ifdef _WIN32
#define __FUNCTION__ __FILE__ ":" __LINE__
#define __FUNCTION__ __FILE__
#endif
#define CATMODULE "thread"