Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports
Path: blob/main/databases/clickhouse-cpp/files/patch-clickhouse_base_platform.h
26524 views
1
--- clickhouse/base/platform.h.orig 2025-09-20 19:59:03 UTC
2
+++ clickhouse/base/platform.h
3
@@ -2,6 +2,8 @@
4
5
#if defined(__linux__)
6
# define _linux_
7
+#elif defined(__FreeBSD__)
8
+# define _freebsd_
9
#elif defined(_WIN64)
10
# define _win64_
11
# define _win32_
12
@@ -20,7 +22,7 @@
13
# define WIN32_LEAN_AND_MEAN 1 // don't include too much header automatically
14
#endif
15
16
-#if defined(_linux_) || defined (_darwin_)
17
+#if defined(_linux_) || defined (_darwin_) || defined(_freebsd_)
18
# define _unix_
19
#endif
20
21
22