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:
parent
cb9de1ee2a
commit
39635122a5
@ -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)
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user