updated build system

This commit is contained in:
2024-10-17 11:18:08 -05:00
parent 0bd7070ec5
commit d192904f8c
42 changed files with 975 additions and 1670 deletions

View File

@@ -38,7 +38,9 @@
#endif // defined(PROJECT_ENABLE_WINFSP)
#include <direct.h>
#if !defined(__cplusplus)
#include <errno.h>
#endif // !defined(__cplusplus)
#include <fcntl.h>
#include <io.h>
#include <iphlpapi.h>
@@ -49,10 +51,14 @@
#include <shellapi.h>
#include <shlobj.h>
#include <shlwapi.h>
#if !defined(__cplusplus)
#include <stdio.h>
#endif // !defined(__cplusplus)
#include <sys/stat.h>
#include <sys/types.h>
#if !defined(__cplusplus)
#include <time.h>
#endif // !defined(__cplusplus)
#else // !defined(_WIN32)
#include <arpa/inet.h>
#include <dirent.h>
@@ -65,9 +71,9 @@
#include <sys/socket.h>
#if defined(__LFS64__)
#include <sys/stat64.h>
#else
#else // !defined(__LFS64__)
#include <sys/stat.h>
#endif
#endif // defined(__LFS64__)
#if defined(__linux__)
#include <sys/statfs.h>
@@ -98,6 +104,7 @@
#include <array>
#include <atomic>
#include <bit>
#include <cerrno>
#include <chrono>
#include <ciso646>
#include <climits>
@@ -105,9 +112,11 @@
#include <condition_variable>
#include <csignal>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <ctime>
#include <deque>
#include <filesystem>
#include <fstream>
@@ -466,4 +475,9 @@ using http_ranges = std::vector<http_range>;
} // namespace repertory
#endif // defined(__cplusplus)
#define REPERTORY_USES_FUNCTION_NAME() \
static constexpr const std::string_view function_name{ \
static_cast<const char *>(__FUNCTION__), \
}
#endif // REPERTORY_INCLUDE_UTILS_CONFIG_HPP_