From: Tommy Nguyen Date: Mon, 17 Jul 2017 20:03:48 +0000 (-0700) Subject: Use more libstdc++ specific macro X-Git-Tag: v2017.07.17.01~8 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=38916b961dd38daaec5df57c1eff94b88aff9375;p=folly.git 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 --- 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