libobs,win-capture,win-wasapi: Fix typo in macro WIN32_LEAN_AND_MEAN

Fix the macro to prevent unnecessary headers from being included by
<windows.h>. This reduces compilation time and may prevent future bugs
due to unexpected includes.
This commit is contained in:
Mirza Özokyay
2025-02-26 01:23:51 +01:00
committed by Ryan Foster
parent 3d9d066d07
commit 90570e7a70
3 changed files with 3 additions and 3 deletions

View File

@@ -25,7 +25,7 @@
#include "media-io/video-frame.h"
#ifdef _WIN32
#define WIN32_MEAN_AND_LEAN
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#endif

View File

@@ -1,6 +1,6 @@
#include "dc-capture.h"
#define WIN32_MEAN_AND_LEAN
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
static inline void init_textures(struct dc_capture *capture)

View File

@@ -1,6 +1,6 @@
#pragma once
#define WIN32_MEAN_AND_LEAN
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <initguid.h>
#include <mmdeviceapi.h>