mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-19 01:09:58 +00:00
fix TARGET_OS_SIMULATOR check
This commit is contained in:
parent
51446f0324
commit
59beb5e4e4
@ -256,7 +256,7 @@ namespace fs {
|
|||||||
auto p = root + i2p::fs::dirSep + prefix1 + chars[i];
|
auto p = root + i2p::fs::dirSep + prefix1 + chars[i];
|
||||||
if (boost::filesystem::exists(p))
|
if (boost::filesystem::exists(p))
|
||||||
continue;
|
continue;
|
||||||
#ifdef TARGET_OS_SIMULATOR
|
#if TARGET_OS_SIMULATOR
|
||||||
// ios simulator fs says it is case sensitive, but it is not
|
// ios simulator fs says it is case sensitive, but it is not
|
||||||
boost::system::error_code ec;
|
boost::system::error_code ec;
|
||||||
if (boost::filesystem::create_directory(p, ec))
|
if (boost::filesystem::create_directory(p, ec))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user