Skip to content

Commit

Permalink
Fix build with missing header dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
CrendKing committed Feb 29, 2024
1 parent 122cd88 commit 0cc49b2
Showing 1 changed file with 63 additions and 62 deletions.
125 changes: 63 additions & 62 deletions filter_common/src/pch.h
Original file line number Diff line number Diff line change
@@ -1,62 +1,63 @@
#pragma once

#include <codeanalysis/warnings.h>
#pragma warning(push)
#pragma warning(disable: ALL_CODE_ANALYSIS_WARNINGS)

#include "min_windows_macros.h"

#include <algorithm>
#include <array>
#include <chrono>
#include <clocale>
#include <condition_variable>
#include <filesystem>
#include <format>
#include <functional>
#include <map>
#include <memory>
#include <mutex>
#include <numeric>
#include <optional>
#include <ranges>
#include <regex>
#include <shared_mutex>
#include <string>
#include <thread>
#include <unordered_set>
#include <vector>

#define _ATL_APARTMENT_THREADED
#define _ATL_NO_AUTOMATIC_NAMESPACE
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS
#include <atlbase.h>
#include <cguid.h>
#include <commctrl.h>
#include <commdlg.h>
#include <dxva.h>
#include <immintrin.h>
#include <initguid.h>
#include <processthreadsapi.h>
#include <shellapi.h>

// DirectShow BaseClasses
#include <dvdmedia.h>
#include <streams.h>

#ifdef AVSF_AVISYNTH
#include <avisynth.h>
#else
#include <VSHelper4.h>
#include <VSScript4.h>
#include <VapourSynth4.h>
#endif
#include <SimpleIni.h>
#include <VSConstants4.h>

#pragma warning(pop)

#include "resource.h"

#pragma warning(push)
#pragma warning(disable: 26495 26812)
#pragma once

#include <codeanalysis/warnings.h>
#pragma warning(push)
#pragma warning(disable: ALL_CODE_ANALYSIS_WARNINGS)

#include "min_windows_macros.h"

#include <algorithm>
#include <array>
#include <chrono>
#include <clocale>
#include <condition_variable>
#include <filesystem>
#include <format>
#include <functional>
#include <map>
#include <memory>
#include <mutex>
#include <numeric>
#include <optional>
#include <ranges>
#include <regex>
#include <shared_mutex>
#include <string>
#include <thread>
#include <unordered_set>
#include <vector>

#define _ATL_APARTMENT_THREADED
#define _ATL_NO_AUTOMATIC_NAMESPACE
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS
#include <atlbase.h>
#include <cguid.h>
#include <commctrl.h>
#include <commdlg.h>
#include <dxva.h>
#include <immintrin.h>
#include <initguid.h>
#include <isa_availability.h>
#include <processthreadsapi.h>
#include <shellapi.h>

// DirectShow BaseClasses
#include <dvdmedia.h>
#include <streams.h>

#ifdef AVSF_AVISYNTH
#include <avisynth.h>
#else
#include <VSHelper4.h>
#include <VSScript4.h>
#include <VapourSynth4.h>
#endif
#include <SimpleIni.h>
#include <VSConstants4.h>

#pragma warning(pop)

#include "resource.h"

#pragma warning(push)
#pragma warning(disable: 26495 26812)

0 comments on commit 0cc49b2

Please sign in to comment.