mirror of
https://github.com/open-mmlab/mmdeploy.git
synced 2025-01-14 08:09:43 +08:00
16 lines
401 B
C
16 lines
401 B
C
|
// Copyright (c) OpenMMLab. All rights reserved.
|
||
|
|
||
|
#ifndef MMDEPLOY_CSRC_CORE_UTILS_FILESYSTEM_H_
|
||
|
#define MMDEPLOY_CSRC_CORE_UTILS_FILESYSTEM_H_
|
||
|
|
||
|
// TODO: what about clang?
|
||
|
#if __GNUC__ >= 8 || _MSC_VER
|
||
|
#include <filesystem>
|
||
|
namespace fs = std::filesystem;
|
||
|
#else
|
||
|
#include <experimental/filesystem>
|
||
|
namespace fs = std::experimental::filesystem;
|
||
|
#endif
|
||
|
|
||
|
#endif // MMDEPLOY_CSRC_CORE_UTILS_FILESYSTEM_H_
|