From 91679b2836881d98333599f6b6602ccad7e37fd1 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 10 Feb 2024 05:50:13 +0100 Subject: try to fix msvc build --- compat/os-file.cpp | 3 +++ 1 file changed, 3 insertions(+) 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 #define fm_os_access access #endif +#ifndef F_OK +#define F_OK 0 +#endif namespace floormat::fs { -- cgit v1.2.3