aboutsummaryrefslogtreecommitdiff
path: root/odb/details/tls.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/details/tls.hxx')
-rw-r--r--odb/details/tls.hxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/odb/details/tls.hxx b/odb/details/tls.hxx
new file mode 100644
index 0000000..6d38e6b
--- /dev/null
+++ b/odb/details/tls.hxx
@@ -0,0 +1,14 @@
+// file : odb/details/tls.hxx
+// author : Boris Kolpackov <boris@codesynthesis.com>
+// copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC
+// license : GNU GPL v2; see accompanying LICENSE file
+
+#ifndef ODB_DETAILS_TLS_HXX
+#define ODB_DETAILS_TLS_HXX
+
+#include <odb/details/posix/tls.hxx>
+
+#define ODB_TLS_POINTER(type) tls<type*>
+#define ODB_TLS_OBJECT(type) tls<type>
+
+#endif // ODB_DETAILS_TLS_HXX