mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-02-02 15:07:36 -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
|
#ifdef _WIN32
|
||||||
#define __FUNCTION__ __FILE__ ":" __LINE__
|
#define __FUNCTION__ __FILE__
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define ERROR0(y) log_write(errorlog, 1, CATMODULE "/" __FUNCTION__, y)
|
#define ERROR0(y) log_write(errorlog, 1, CATMODULE "/" __FUNCTION__, y)
|
||||||
|
@ -25,16 +25,17 @@
|
|||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
|
#include <pthread.h>
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#else
|
#else
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <winbase.h>
|
#include <winbase.h>
|
||||||
|
#include <implement.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <pthread.h>
|
|
||||||
|
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
@ -42,7 +43,7 @@
|
|||||||
#include "avl.h"
|
#include "avl.h"
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#define __FUNCTION__ __FILE__ ":" __LINE__
|
#define __FUNCTION__ __FILE__
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define CATMODULE "thread"
|
#define CATMODULE "thread"
|
||||||
|
Loading…
Reference in New Issue
Block a user