aboutsummaryrefslogtreecommitdiff
path: root/odb/details/mutex.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/details/mutex.hxx')
-rw-r--r--odb/details/mutex.hxx10
1 files changed, 9 insertions, 1 deletions
diff --git a/odb/details/mutex.hxx b/odb/details/mutex.hxx
index 6bdfd21..2508f68 100644
--- a/odb/details/mutex.hxx
+++ b/odb/details/mutex.hxx
@@ -33,7 +33,15 @@ namespace odb
};
}
}
-
+#elif defined(ODB_THREADS_CXX11)
+# include <mutex>
+namespace odb
+{
+ namespace details
+ {
+ using std::mutex;
+ }
+}
#elif defined(ODB_THREADS_POSIX)
#include <odb/details/posix/mutex.hxx>
#elif defined(ODB_THREADS_WIN32)