mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-08-12 02:29:03 +08:00
refs #78, added test of __MAC_OS_X_VERSION_MIN_REQUIRED
This commit is contained in:
parent
1c7204285d
commit
416c60a1d4
@ -31,7 +31,7 @@
|
|||||||
//---------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------
|
||||||
#ifndef GHC_FILESYSTEM_STD_H
|
#ifndef GHC_FILESYSTEM_STD_H
|
||||||
#if defined(__cplusplus) && __cplusplus >= 201703L && defined(__has_include)
|
#if defined(__cplusplus) && __cplusplus >= 201703L && defined(__has_include)
|
||||||
#if __has_include(<filesystem>)
|
#if __has_include(<filesystem>) && (!defined(__MAC_OS_X_VERSION_MIN_REQUIRED) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500)
|
||||||
#define GHC_USE_STD_FS
|
#define GHC_USE_STD_FS
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
namespace fs {
|
namespace fs {
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#ifndef GHC_FILESYSTEM_STD_FWD_H
|
#ifndef GHC_FILESYSTEM_STD_FWD_H
|
||||||
#define GHC_FILESYSTEM_STD_FWD_H
|
#define GHC_FILESYSTEM_STD_FWD_H
|
||||||
#if defined(__cplusplus) && __cplusplus >= 201703L && defined(__has_include)
|
#if defined(__cplusplus) && __cplusplus >= 201703L && defined(__has_include)
|
||||||
#if __has_include(<filesystem>)
|
#if __has_include(<filesystem>) && (!defined(__MAC_OS_X_VERSION_MIN_REQUIRED) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500)
|
||||||
#define GHC_USE_STD_FS
|
#define GHC_USE_STD_FS
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
namespace fs {
|
namespace fs {
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
// header to work.
|
// header to work.
|
||||||
//---------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------
|
||||||
#if defined(__cplusplus) && __cplusplus >= 201703L && defined(__has_include)
|
#if defined(__cplusplus) && __cplusplus >= 201703L && defined(__has_include)
|
||||||
#if __has_include(<filesystem>)
|
#if __has_include(<filesystem>) && (!defined(__MAC_OS_X_VERSION_MIN_REQUIRED) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500)
|
||||||
#define GHC_USE_STD_FS
|
#define GHC_USE_STD_FS
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user