Skip to content

Instantly share code, notes, and snippets.

@dmorilha
dmorilha / gist:10ab1090d0f374c75902
Last active August 29, 2015 14:13
boost-coroutine-cpp11 patch
diff -ru boost_1_57_0.old/libs/coroutine/src/posix/stack_traits.cpp boost_1_57_0/libs/coroutine/src/posix/stack_traits.cpp
--- boost_1_57_0.old/libs/coroutine/src/posix/stack_traits.cpp 2014-10-24 14:58:50.000000000 +0000
+++ boost_1_57_0/libs/coroutine/src/posix/stack_traits.cpp 2015-01-14 11:25:07.399008597 +0000
@@ -19,7 +19,14 @@
#include <cmath>
#include <boost/assert.hpp>
+
+#if __cplusplus >= 201100L
+#include <mutex>
defaults.json = {
settings: ["master"],
array: [a, b, c]
};
application.json = {[
{
settings: ["master"],
specs: {
B: {