Eliminate the use of std::fs (#497)

This commit is contained in:
Aryan Salmanpour
2025-01-27 08:10:11 -05:00
committed by GitHub
parent 46a344259b
commit bca75cf2b7
3 changed files with 47 additions and 59 deletions
+2 -7
View File
@@ -28,17 +28,12 @@ THE SOFTWARE.
#include <string>
#include <fcntl.h>
#include <unistd.h>
#include <dirent.h>
#include <sys/stat.h>
#include <cstring>
#include <mutex>
#include <algorithm>
#include <unordered_map>
#if __cplusplus >= 201703L && __has_include(<filesystem>)
#include <filesystem>
namespace fs = std::filesystem;
#else
#include <experimental/filesystem>
namespace fs = std::experimental::filesystem;
#endif
#include <libdrm/amdgpu_drm.h>
#include <libdrm/amdgpu.h>
#include <va/va.h>