mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 00:39:01 +08:00
fdeea72bb0
* Fix building errors of glog * Bump the port version of glog * Update version database * Fix building errors * Update version database
18 lines
394 B
Diff
18 lines
394 B
Diff
diff --git a/src/glog/logging.h.in b/src/glog/logging.h.in
|
|
index 3ecacfb..2d48a0e 100644
|
|
--- a/src/glog/logging.h.in
|
|
+++ b/src/glog/logging.h.in
|
|
@@ -100,6 +100,12 @@
|
|
#include <gflags/gflags.h>
|
|
#endif
|
|
|
|
+#ifdef GLOG_OS_WINDOWS
|
|
+#ifndef HAVE_CXX11_ATOMIC
|
|
+#define HAVE_CXX11_ATOMIC
|
|
+#endif
|
|
+#endif
|
|
+
|
|
#ifdef HAVE_CXX11_ATOMIC
|
|
#include <atomic>
|
|
#elif defined(GLOG_OS_WINDOWS)
|