mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-15 03:27:49 +01:00
libvapours: reorganize includes.hpp
This commit is contained in:
parent
c6a736a6f6
commit
1309e93e26
@ -26,36 +26,29 @@
|
|||||||
#include <climits>
|
#include <climits>
|
||||||
#include <cctype>
|
#include <cctype>
|
||||||
|
|
||||||
|
/* C++ headers. */
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <iterator>
|
#include <iterator>
|
||||||
#include <limits>
|
#include <limits>
|
||||||
#include <random>
|
#include <random>
|
||||||
|
|
||||||
/* Stratosphere wants stdlib headers, others do not.. */
|
|
||||||
#ifdef ATMOSPHERE_IS_STRATOSPHERE
|
|
||||||
|
|
||||||
/* C++ headers. */
|
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <optional>
|
#include <optional>
|
||||||
#include <memory>
|
|
||||||
#include <mutex>
|
|
||||||
#include <shared_mutex>
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <tuple>
|
#include <tuple>
|
||||||
#include <array>
|
#include <array>
|
||||||
|
|
||||||
|
/* Stratosphere wants additional libstdc++ headers, others do not. */
|
||||||
|
#ifdef ATMOSPHERE_IS_STRATOSPHERE
|
||||||
|
|
||||||
|
#include <memory>
|
||||||
|
#include <mutex>
|
||||||
|
#include <shared_mutex>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
#include <set>
|
#include <set>
|
||||||
|
|
||||||
#endif /* ATMOSPHERE_IS_STRATOSPHERE */
|
|
||||||
|
|
||||||
#ifdef ATMOSPHERE_BOARD_NINTENDO_SWITCH
|
|
||||||
|
|
||||||
#ifdef ATMOSPHERE_IS_STRATOSPHERE
|
|
||||||
|
|
||||||
/* Libnx. */
|
/* Libnx. */
|
||||||
#include <switch.h>
|
#include <switch.h>
|
||||||
|
|
||||||
@ -64,13 +57,7 @@
|
|||||||
/* Non-EL0 code can't include libnx. */
|
/* Non-EL0 code can't include libnx. */
|
||||||
#include "types.hpp"
|
#include "types.hpp"
|
||||||
|
|
||||||
#endif
|
#endif /* ATMOSPHERE_IS_STRATOSPHERE */
|
||||||
|
|
||||||
#else
|
|
||||||
|
|
||||||
#error "Unsupported board"
|
|
||||||
|
|
||||||
#endif /* ATMOSPHERE_BOARD_NINTENDO_SWITCH */
|
|
||||||
|
|
||||||
/* Atmosphere meta. */
|
/* Atmosphere meta. */
|
||||||
#include "ams_version.h"
|
#include "ams_version.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user