summaryrefslogtreecommitdiff
path: root/databases/foundationdb/files/patch-flow_Platform.h
blob: ae13c29c7fc3730c6629af91df60a7a19d004e55 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- flow/Platform.h.orig	2018-08-01 01:25:10 UTC
+++ flow/Platform.h
@@ -22,7 +22,7 @@
 #define FLOW_PLATFORM_H
 #pragma once
 
-#if (defined(__linux__) || defined(__APPLE__))
+#if (defined(__linux__) || defined(__APPLE__)) || defined(__FreeBSD__)
 #define __unixish__ 1
 #endif
 
@@ -183,6 +183,8 @@ THREAD_HANDLE startThread(void *(func) (
 #define DYNAMIC_LIB_EXT ".dll"
 #elif defined(__linux)
 #define DYNAMIC_LIB_EXT ".so"
+#elif defined(__FreeBSD__)
+#define DYNAMIC_LIB_EXT ".so"
 #elif defined(__APPLE__)
 #define DYNAMIC_LIB_EXT ".dylib"
 #else