Skip to content

Instantly share code, notes, and snippets.

@danslo
Last active December 26, 2015 09:19
Show Gist options
  • Save danslo/7129045 to your computer and use it in GitHub Desktop.
Save danslo/7129045 to your computer and use it in GitHub Desktop.
Index: src/stl_logging_unittest.cc
===================================================================
diff --git a/src/stl_logging_unittest.cc b/src/stl_logging_unittest.cc
--- a/src/stl_logging_unittest.cc (revision 134)
+++ b/src/stl_logging_unittest.cc (working copy)
@@ -34,10 +34,12 @@
#ifdef __GNUC__
// C++0x isn't enabled by default.
// # define GLOG_STL_LOGGING_FOR_UNORDERED
+# define GLOG_STL_LOGGING_FOR_EXT_HASH
+#ifdef _LIBCPP_VERSION
# define GLOG_STL_LOGGING_FOR_TR1_UNORDERED
-# define GLOG_STL_LOGGING_FOR_EXT_HASH
# define GLOG_STL_LOGGING_FOR_EXT_SLIST
#endif
+#endif
#include "glog/stl_logging.h"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment