From 38916b961dd38daaec5df57c1eff94b88aff9375 Mon Sep 17 00:00:00 2001 From: Tommy Nguyen Date: Mon, 17 Jul 2017 13:03:48 -0700 Subject: [PATCH] Use more libstdc++ specific macro Summary: - The __GNUC__ macro is used by other compilers like Clang and ICC, but ext/stdio_filebuf.h is a libstdc++ only extension. fixes #636 Closes https://github.com/facebook/folly/pull/637 Reviewed By: yfeldblum Differential Revision: D5434532 Pulled By: Orvid fbshipit-source-id: ce4f966a74aa9f82ae907c67807ac87ec1588173 --- folly/experimental/symbolizer/Symbolizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/folly/experimental/symbolizer/Symbolizer.cpp b/folly/experimental/symbolizer/Symbolizer.cpp index abfc64cf..8c7183e2 100644 --- a/folly/experimental/symbolizer/Symbolizer.cpp +++ b/folly/experimental/symbolizer/Symbolizer.cpp @@ -23,7 +23,7 @@ #include #include -#ifdef __GNUC__ +#ifdef __GLIBCXX__ #include #include #endif -- 2.34.1