summaryrefslogtreecommitdiff
path: root/databases/foundationdb/files/patch-flow_FastAlloc.cpp
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2018-05-02 01:27:12 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2018-05-02 01:27:12 +0000
commit9bb490e4d1fc8cd87ea0db24f93bf555b1f308cf (patch)
tree1a246c06bef78a1f57c64201f25868dd6ca4627b /databases/foundationdb/files/patch-flow_FastAlloc.cpp
parentAdd foundationdb. (diff)
Add foundationdb, yet another distributed database from apple.
Diffstat (limited to 'databases/foundationdb/files/patch-flow_FastAlloc.cpp')
-rw-r--r--databases/foundationdb/files/patch-flow_FastAlloc.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/databases/foundationdb/files/patch-flow_FastAlloc.cpp b/databases/foundationdb/files/patch-flow_FastAlloc.cpp
new file mode 100644
index 000000000000..7cffa1d152e0
--- /dev/null
+++ b/databases/foundationdb/files/patch-flow_FastAlloc.cpp
@@ -0,0 +1,12 @@
+--- flow/FastAlloc.cpp.orig 2018-04-22 14:45:22 UTC
++++ flow/FastAlloc.cpp
+@@ -51,6 +51,9 @@
+ #elif defined(__APPLE__)
+ #pragma message "init_priority is not supported on this platform; will this be a problem?"
+ #define INIT_SEG
++#elif defined(__FreeBSD__)
++#pragma message "init_priority is not supported on this platform; will this be a problem?"
++#define INIT_SEG
+ #else
+ #error Where am I?
+ #endif