mirror of https://github.com/oxen-io/lokinet
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
541 B
C++
34 lines
541 B
C++
#ifndef LLARP_FS_HPP
|
|
#define LLARP_FS_HPP
|
|
|
|
#if defined(WIN32) || defined(_WIN32)
|
|
# define PATH_SEP "\\"
|
|
#else
|
|
# define PATH_SEP "/"
|
|
#endif
|
|
|
|
#if(__cplusplus >= 201703L)
|
|
#include <experimental/filesystem>
|
|
namespace fs = std::experimental::filesystem;
|
|
#else
|
|
#ifdef __clang__
|
|
#include "filesystem.h"
|
|
namespace fs = cpp17::filesystem;
|
|
#else
|
|
#error "fs support unimplemented"
|
|
|
|
#include <string>
|
|
|
|
namespace fs
|
|
{
|
|
static std::string Sep = "/";
|
|
struct path
|
|
{
|
|
};
|
|
}
|
|
|
|
#endif
|
|
#endif
|
|
|
|
#endif
|