summaryrefslogtreecommitdiffhomepage
path: root/compat/os-file.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'compat/os-file.hpp')
-rw-r--r--compat/os-file.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/compat/os-file.hpp b/compat/os-file.hpp
new file mode 100644
index 00000000..8e7962bf
--- /dev/null
+++ b/compat/os-file.hpp
@@ -0,0 +1,11 @@
+#pragma once
+
+namespace floormat::fs {
+
+[[nodiscard]] bool file_exists(StringView name);
+
+} // namespace floormat::fs
+
+#ifndef fm_FILENAME_MAX
+#define fm_FILENAME_MAX (260)
+#endif