Simplify some macros testing __GNUC__ and __clang__ (#1095)
Summary: - Both GCC and Clang define the macro `__GNUC__`, `__GNUG__` and friends. Simplify some macros whose intent is to check "if we are GCC or Clang" but do so via checking `__GNUC__` in addition to `__clang__`. It is sufficient to just check `__GNUC__`. Pull Request resolved: https://github.com/facebook/folly/pull/1095 Reviewed By: Orvid Differential Revision: D14697480 Pulled By: yfeldblum fbshipit-source-id: cd6ec82c4235a1321ecdf240afaad7d5c0e99437
Showing
Please register or sign in to comment