It should already be defined near the Windows.h include.
@@ -15,10 +15,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
******************************************************************************/
-#ifdef _MSC_VER
-#define WIN32_LEAN_AND_MEAN
-#endif
-
#include <obs.h>
#include <stdio.h>
#include <util/dstr.h>
#include <obs-module.h>
#include <obs-avc.h>
#include <util/platform.h>
@@ -1,13 +1,8 @@
#include "obs-outputs-config.h"
#ifdef _WIN32
#include <winsock2.h>
#include <mbedtls/threading.h>
#endif
#include "rtmp-stream.h"
#ifndef SEC_TO_NSEC
@@ -1,7 +1,3 @@