1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-06-30 06:35:23 +00:00

Fix: Fixed building on windows

This commit is contained in:
Philipp Schafft 2023-01-29 19:44:59 +00:00
parent 3c7b79c60f
commit d1e35f6457

View File

@ -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