2023-12-22 11:57:49 +00:00
|
|
|
// SPDX-FileCopyrightText: 2002-2023 PCSX2 Dev Team
|
|
|
|
// SPDX-License-Identifier: LGPL-3.0+
|
2010-07-08 16:40:44 +00:00
|
|
|
|
2023-12-22 11:17:46 +00:00
|
|
|
#pragma once
|
2009-04-28 20:26:43 +00:00
|
|
|
|
2009-08-31 03:47:05 +00:00
|
|
|
// Disable some pointless warnings...
|
|
|
|
#ifdef _MSC_VER
|
|
|
|
# pragma warning(disable:4250) //'class' inherits 'method' via dominance
|
|
|
|
#endif
|
|
|
|
|
2022-05-18 13:27:23 +00:00
|
|
|
#include "common/Pcsx2Defs.h"
|
2009-03-05 20:06:38 +00:00
|
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////////////////////////////
|
2022-05-18 13:27:23 +00:00
|
|
|
// Include the STL that's actually handy.
|
2009-02-09 21:15:56 +00:00
|
|
|
|
2022-05-18 13:27:23 +00:00
|
|
|
#include <algorithm>
|
|
|
|
#include <cinttypes> // Printf format
|
|
|
|
#include <condition_variable>
|
|
|
|
#include <climits>
|
2009-02-09 21:15:56 +00:00
|
|
|
#include <cstring> // string.h under c++
|
|
|
|
#include <cstdio> // stdio.h under c++
|
|
|
|
#include <cstdlib>
|
2022-05-18 13:27:23 +00:00
|
|
|
#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>
|
2009-02-09 21:15:56 +00:00
|
|
|
|
|
|
|
// ... 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>
|
2022-05-09 10:34:26 +00:00
|
|
|
|
2022-05-18 13:27:23 +00:00
|
|
|
// We use fmt a fair bit now.
|
|
|
|
#include "fmt/core.h"
|
2010-08-24 17:53:27 +00:00
|
|
|
|