| 177 | } |
| 178 | |
| 179 | std::string getCurrentDirectory() |
| 180 | { |
| 181 | #ifdef _USE_FILESYSTEM_FALLBACK |
| 182 | char buff[FILENAME_MAX]; |
| 183 | GetCurrentDir(buff, FILENAME_MAX); |
| 184 | std::string current_working_dir(buff); |
| 185 | return current_working_dir; |
| 186 | #else |
| 187 | return std::filesystem::current_path().string(); |
| 188 | #endif |
| 189 | } |
| 190 | |
| 191 | std::string separator() |
| 192 | { |