Commit a732ef1c authored by Christopher Dykes's avatar Christopher Dykes Committed by Facebook Github Bot

Drop std::max_align_t hack present for GCC 4.8

Summary: Folly no longer supports GCC 4.8, so this is no longer needed.

Reviewed By: yfeldblum

Differential Revision: D5354542

fbshipit-source-id: bd9a2732f22f2176f64f92f0af6f7d59dd59a8d9
parent 5b7f5cef
...@@ -179,13 +179,6 @@ constexpr bool kIsSanitizeThread = false; ...@@ -179,13 +179,6 @@ constexpr bool kIsSanitizeThread = false;
#define FOLLY_GCC_DISABLE_NEW_SHADOW_WARNINGS /* empty */ #define FOLLY_GCC_DISABLE_NEW_SHADOW_WARNINGS /* empty */
#endif #endif
#if defined(__GNUC__) && !defined(__APPLE__) && !__GNUC_PREREQ(4,9)
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56019
// gcc 4.8.x incorrectly placed max_align_t in the root namespace
// Alias it into std (where it's found in 4.9 and later)
namespace std { typedef ::max_align_t max_align_t; }
#endif
// portable version check for clang // portable version check for clang
#ifndef __CLANG_PREREQ #ifndef __CLANG_PREREQ
# if defined __clang__ && defined __clang_major__ && defined __clang_minor__ # if defined __clang__ && defined __clang_major__ && defined __clang_minor__
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment