mirror of
https://github.com/MadeOfJelly/MushMachine.git
synced 2025-06-20 19:56:37 +02:00
30 lines
791 B
C++
30 lines
791 B
C++
// __ _____ _____ _____
|
|
// __| | __| | | | JSON for Modern C++
|
|
// | | |__ | | | | | | version 3.12.0
|
|
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
|
|
//
|
|
// SPDX-FileCopyrightText: 2013 - 2025 Niels Lohmann <https://nlohmann.me>
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
#pragma once
|
|
|
|
#include <nlohmann/detail/macro_scope.hpp>
|
|
|
|
#if JSON_HAS_EXPERIMENTAL_FILESYSTEM
|
|
#include <experimental/filesystem>
|
|
NLOHMANN_JSON_NAMESPACE_BEGIN
|
|
namespace detail
|
|
{
|
|
namespace std_fs = std::experimental::filesystem;
|
|
} // namespace detail
|
|
NLOHMANN_JSON_NAMESPACE_END
|
|
#elif JSON_HAS_FILESYSTEM
|
|
#include <filesystem> // NOLINT(build/c++17)
|
|
NLOHMANN_JSON_NAMESPACE_BEGIN
|
|
namespace detail
|
|
{
|
|
namespace std_fs = std::filesystem;
|
|
} // namespace detail
|
|
NLOHMANN_JSON_NAMESPACE_END
|
|
#endif
|