| 10 | #include "MNNFileUtils.h" |
| 11 | |
| 12 | std::string MNNFilePathConcat(std::string prefix, std::string suffix) { |
| 13 | #if defined(WIN32) || defined(_WIN32) || defined(_WIN64) || defined(_MSC_VER) |
| 14 | return prefix + "\\" + suffix; |
| 15 | #else |
| 16 | return prefix + "/" + suffix; |
| 17 | #endif |
| 18 | } |
| 19 | |
| 20 | bool MNNDirExist(const char * path) { |
| 21 | #if defined(WIN32) || defined(_WIN32) || defined(_WIN64) || defined(_MSC_VER) |
no outgoing calls