From e6eb54cb0815b60866eb097a96390db072bddb30 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Thu, 9 Sep 2021 12:00:03 +0200 Subject: [PATCH] SDP: use standard pthreads for EWS --- src/utils/sdp.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/utils/sdp.c b/src/utils/sdp.c index c0f3a797d..d0eab1db7 100644 --- a/src/utils/sdp.c +++ b/src/utils/sdp.c @@ -46,20 +46,15 @@ * * createResponseForRequest() should be probably static (in case that other * modules want also to use EmbeddableWebServer) * * HTTP server should work even if the SDP file cannot be written - * * at least some Windows compatibility functions should be perhaps deleted from - * EmbeddableWebServer, eg. pthread_* which we have from winpthreads, either. - * This can also be potentially dangerous. */ #ifdef HAVE_CONFIG_H #include "config.h" #include "config_unix.h" -// config_win32.h must not be included if using EWS because EWS has -// some incomatible implementations of POSIX functions +#include "config_win32.h" #endif #ifdef WIN32 -#define _WIN32_WINNT 0x0600 #include #include #include