Created
January 21, 2014 11:03
-
-
Save tcard/8538091 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: src/stl_logging_unittest.cc | |
=================================================================== | |
--- src/stl_logging_unittest.cc (revision 136) | |
+++ src/stl_logging_unittest.cc (working copy) | |
@@ -31,17 +31,20 @@ | |
#ifdef HAVE_USING_OPERATOR | |
-#ifdef __GNUC__ | |
+#include <iostream> | |
+ | |
+#if defined(__GLIBCPP__) || defined(__GLIBCXX__) | |
// C++0x isn't enabled by default. | |
// # define GLOG_STL_LOGGING_FOR_UNORDERED | |
# define GLOG_STL_LOGGING_FOR_TR1_UNORDERED | |
# define GLOG_STL_LOGGING_FOR_EXT_HASH | |
# define GLOG_STL_LOGGING_FOR_EXT_SLIST | |
+#elif defined(_LIBCPP_VERSION) | |
+# define GLOG_STL_LOGGING_FOR_UNORDERED | |
#endif | |
#include "glog/stl_logging.h" | |
-#include <iostream> | |
#include <map> | |
#include <ostream> | |
#include <string> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment