pcsx2/pcsx2/PrecompiledHeader.h

46 lines
1.1 KiB
C++

// SPDX-FileCopyrightText: 2002-2023 PCSX2 Dev Team
// SPDX-License-Identifier: LGPL-3.0+
#pragma once
// Disable some pointless warnings...
#ifdef _MSC_VER
# pragma warning(disable:4250) //'class' inherits 'method' via dominance
#endif
#include "common/Pcsx2Defs.h"
//////////////////////////////////////////////////////////////////////////////////////////
// Include the STL that's actually handy.
#include <algorithm>
#include <cinttypes> // Printf format
#include <condition_variable>
#include <climits>
#include <cstring> // string.h under c++
#include <cstdio> // stdio.h under c++
#include <cstdlib>
#include <cmath>
#include <list>
#include <memory>
#include <mutex>
#include <functional>
#include <optional>
#include <stack>
#include <stdexcept>
#include <string>
#include <string_view>
#include <thread>
#include <vector>
// ... and include some ANSI/POSIX C libs that are useful too, just for good measure.
// (these compile lightning fast with or without PCH, but they never change so
// might as well add them here)
#include <stddef.h>
#include <sys/stat.h>
// We use fmt a fair bit now.
#include "fmt/core.h"