aboutsummaryrefslogtreecommitdiff
path: root/odb/details/win32/tls.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-09-10 11:26:29 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-09-10 11:26:29 +0200
commit81ac8f1ff70adb0b7a1e4625dcf237bcec83b2a4 (patch)
treef046f261ea0e81da62a1f8d723d67d8ead8bd8fc /odb/details/win32/tls.cxx
parent33de34de425d2c34b88cdb6547b79b0ee18425ac (diff)
Add support for early destruction of TLS object
Diffstat (limited to 'odb/details/win32/tls.cxx')
-rw-r--r--odb/details/win32/tls.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/odb/details/win32/tls.cxx b/odb/details/win32/tls.cxx
index d6dc2d8..29eb5fb 100644
--- a/odb/details/win32/tls.cxx
+++ b/odb/details/win32/tls.cxx
@@ -18,6 +18,10 @@
#include <odb/details/win32/tls-init.hxx>
#include <odb/details/win32/exceptions.hxx>
+#ifdef _MSC_VER
+# pragma warning (disable:4200) // zero-sized array in struct
+#endif
+
using namespace std;
namespace odb