mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-02-02 15:07:36 -05:00
Fix: Fixed building on windows
This commit is contained in:
parent
3c7b79c60f
commit
d1e35f6457
@ -618,9 +618,9 @@ static void send_to_listener (source_t *source, client_t *client, int deletion_e
|
||||
static bool source_open_dumpfile(source_t *source)
|
||||
{
|
||||
const char *filename = source->dumpfilename;
|
||||
time_t curtime = time(NULL);
|
||||
#ifndef _WIN32
|
||||
/* some of the below functions seems not to be standard winapi functions */
|
||||
time_t curtime = time(NULL);
|
||||
char buffer[PATH_MAX];
|
||||
struct tm *loctime;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user