diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-10 05:50:13 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-10 05:50:13 +0100 |
commit | 91679b2836881d98333599f6b6602ccad7e37fd1 (patch) | |
tree | e0e7c158387ef3b3a92122751a6383fab51151d9 /compat/os-file.cpp | |
parent | 972275ca9cfbbbe23039c0cecb359420358d8ebf (diff) |
try to fix msvc build
Diffstat (limited to 'compat/os-file.cpp')
-rw-r--r-- | compat/os-file.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compat/os-file.cpp b/compat/os-file.cpp index 0d8f95c2..6aab994d 100644 --- a/compat/os-file.cpp +++ b/compat/os-file.cpp @@ -10,6 +10,9 @@ #include <unistd.h> #define fm_os_access access #endif +#ifndef F_OK +#define F_OK 0 +#endif namespace floormat::fs { |