diff options
Diffstat (limited to 'benchmarks/mangohud/files/patch-src_file__utils.h')
| -rw-r--r-- | benchmarks/mangohud/files/patch-src_file__utils.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/benchmarks/mangohud/files/patch-src_file__utils.h b/benchmarks/mangohud/files/patch-src_file__utils.h new file mode 100644 index 000000000000..b06efb584aa7 --- /dev/null +++ b/benchmarks/mangohud/files/patch-src_file__utils.h @@ -0,0 +1,10 @@ +--- src/file_utils.h.orig 2021-07-08 06:23:59 UTC ++++ src/file_utils.h +@@ -19,6 +19,7 @@ std::vector<std::string> ls(const char* root, const ch + bool file_exists(const std::string& path); + bool dir_exists(const std::string& path); + std::string read_symlink(const char * link); ++template <typename T> T read_sysctl(const char*); + std::string get_exe_path(); + std::string get_wine_exe_name(bool keep_ext = false); + std::string get_home_dir(); |
