diff --git a/core/include/db_manager.h b/core/include/db_manager.h index fcc5f4a..1d3bd21 100644 --- a/core/include/db_manager.h +++ b/core/include/db_manager.h @@ -30,6 +30,17 @@ #include #include +#if defined(_WIN32) + #include + #define access(pathname, mode) _access(pathname, mode) + +#elif __unix__ + #include + +#else + #define access(pathname, mode) 1 + +#endif /** * @brief A class used to handle database interaction. *