Fix Windows linkage.

Windows needs ATOMIC_STATIC_INIT.
This commit is contained in:
Peter Johnson
2015-12-20 21:06:17 -08:00
parent 298dc54910
commit 65e4eeeb7c

View File

@@ -1323,6 +1323,8 @@ class LoggerThreadJNI {
ATOMIC_STATIC_DECL(LoggerThreadJNI)
};
ATOMIC_STATIC_INIT(LoggerThreadJNI)
LoggerThreadJNI::LoggerThreadJNI() {
m_active = false;
}