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.
lokinet/llarp/fs.hpp

18 lines
325 B
C++

6 years ago
#ifndef LLARP_FS_HPP
#define LLARP_FS_HPP
#if defined(WIN32) || defined(_WIN32)
6 years ago
#define PATH_SEP "\\"
#else
6 years ago
#define PATH_SEP "/"
#endif
#if(__cplusplus >= 201703L)
6 years ago
#include <experimental/filesystem>
namespace fs = std::experimental::filesystem;
#else
6 years ago
#include "filesystem.h"
namespace fs = cpp17::filesystem;
#endif
6 years ago
#endif