Commit 39635122 authored by Jack Moffitt's avatar Jack Moffitt

win32 patches from Ed

svn path=/trunk/icecast/; revision=3123
parent cb9de1ee
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment