-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7e65204
commit c94b4e3
Showing
19 changed files
with
628 additions
and
639 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,39 @@ | ||
#ifndef INCLUDE_STD_FILESYSTEM_EXPERIMENTAL | ||
#if defined(__cpp_lib_filesystem) | ||
#define INCLUDE_STD_FILESYSTEM_EXPERIMENTAL 0 | ||
#elif defined(__cpp_lib_experimental_filesystem) | ||
#define INCLUDE_STD_FILESYSTEM_EXPERIMENTAL 1 | ||
#elif !defined(__has_include) | ||
#define INCLUDE_STD_FILESYSTEM_EXPERIMENTAL 1 | ||
#elif __has_include(<filesystem>) | ||
#ifdef _MSC_VER | ||
#if __has_include(<yvals_core.h>) | ||
#include <yvals_core.h> | ||
#if defined(_HAS_CXX17) && _HAS_CXX17 | ||
#define INCLUDE_STD_FILESYSTEM_EXPERIMENTAL 0 | ||
#endif | ||
#endif | ||
#if defined(__cpp_lib_filesystem) | ||
#define INCLUDE_STD_FILESYSTEM_EXPERIMENTAL 0 | ||
#elif defined(__cpp_lib_experimental_filesystem) | ||
#define INCLUDE_STD_FILESYSTEM_EXPERIMENTAL 1 | ||
#elif !defined(__has_include) | ||
#define INCLUDE_STD_FILESYSTEM_EXPERIMENTAL 1 | ||
#elif __has_include(<filesystem>) | ||
#ifdef _MSC_VER | ||
#if __has_include(<yvals_core.h>) | ||
#include <yvals_core.h> | ||
#if defined(_HAS_CXX17) && _HAS_CXX17 | ||
#define INCLUDE_STD_FILESYSTEM_EXPERIMENTAL 0 | ||
#endif | ||
#endif | ||
|
||
#ifndef INCLUDE_STD_FILESYSTEM_EXPERIMENTAL | ||
#define INCLUDE_STD_FILESYSTEM_EXPERIMENTAL 1 | ||
#endif | ||
#ifndef INCLUDE_STD_FILESYSTEM_EXPERIMENTAL | ||
#define INCLUDE_STD_FILESYSTEM_EXPERIMENTAL 1 | ||
#endif | ||
|
||
#define INCLUDE_STD_FILESYSTEM_EXPERIMENTAL 0 | ||
#endif | ||
#elif __has_include(<experimental/filesystem>) | ||
#define INCLUDE_STD_FILESYSTEM_EXPERIMENTAL 1 | ||
#else | ||
#error Could not find system header "<filesystem>" or "<experimental/filesystem>" | ||
#endif | ||
#define INCLUDE_STD_FILESYSTEM_EXPERIMENTAL 0 | ||
#endif | ||
#elif __has_include(<experimental/filesystem>) | ||
#define INCLUDE_STD_FILESYSTEM_EXPERIMENTAL 1 | ||
#else | ||
#error Could not find system header "<filesystem>" or "<experimental/filesystem>" | ||
#endif | ||
|
||
#if INCLUDE_STD_FILESYSTEM_EXPERIMENTAL | ||
#include <experimental/filesystem> | ||
#if INCLUDE_STD_FILESYSTEM_EXPERIMENTAL | ||
#include <experimental/filesystem> | ||
|
||
namespace std { | ||
namespace filesystem = experimental::filesystem; | ||
} | ||
|
||
#else | ||
#include <filesystem> | ||
#endif | ||
#else | ||
#include <filesystem> | ||
#endif | ||
#endif |
Oops, something went wrong.