ocpp
0.24.1
A C++ implementation of the Open Charge Point Protocol
include
ocpp
common
support_older_cpp_versions.hpp
1
// SPDX-License-Identifier: Apache-2.0
2
// Copyright 2020 - 2023 Pionix GmbH and Contributors to EVerest
3
4
#ifndef OCPP_COMMON_SUPPORT_OLDER_CPP_VERSIONS_HPP_
5
#define OCPP_COMMON_SUPPORT_OLDER_CPP_VERSIONS_HPP_
6
7
#ifndef LIBOCPP_USE_BOOST_FILESYSTEM
8
#include <filesystem>
9
#else
10
#include <boost/filesystem.hpp>
11
#endif
12
13
#ifndef LIBOCPP_USE_BOOST_FILESYSTEM
14
namespace
fs = std::filesystem;
15
namespace
fsstd = std;
16
#else
17
namespace
fs = boost::filesystem;
18
namespace
fsstd = boost::filesystem;
19
#endif
20
21
#endif
/* OCPP_COMMON_SUPPORT_OLDER_CPP_VERSIONS_HPP_ */
Generated by
1.9.4