Skip to content

Commit

Permalink
Merge pull request #2278 from barton2526/gcc
Browse files Browse the repository at this point in the history
refactor: Drop noop gcc version checks
  • Loading branch information
jamescowens authored Aug 15, 2021
2 parents 338da0c + 98c41fa commit 992752e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@

#include <type_traits>

// GCC 4.8 is missing some C++11 type_traits,
// https://www.gnu.org/software/gcc/gcc-5/changes.html
#if defined(__GNUC__) && __GNUC__ < 5
#define IS_TRIVIALLY_CONSTRUCTIBLE std::is_trivial
#else
#define IS_TRIVIALLY_CONSTRUCTIBLE std::is_trivially_constructible
#endif

#ifdef WIN32
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN 1
Expand Down

0 comments on commit 992752e

Please sign in to comment.