Program Listing for File filesystem.hpp

Return to documentation for file (include/uitsl/polyfill/filesystem.hpp)

#pragma once
#ifndef UITSL_POLYFILL_FILESYSTEM_HPP_INCLUDE
#define UITSL_POLYFILL_FILESYSTEM_HPP_INCLUDE

#ifdef __EMSCRIPTEN__

#include <experimental/filesystem>

namespace std {
namespace filesystem {

  using namespace std::experimental::filesystem;

} // namespace filesystem
} // namespace std

#else

#include <filesystem>

#endif

#endif // #ifndef UITSL_POLYFILL_FILESYSTEM_HPP_INCLUDE