Browse Source

fix TARGET_OS_SIMULATOR check

pull/2037/head
Vlad Solomenchuk 8 months ago
parent
commit
59beb5e4e4
  1. 2
      libi2pd/FS.cpp

2
libi2pd/FS.cpp

@ -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…
Cancel
Save