Skip to content

Commit

Permalink
try working around build issue on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldreik committed Jun 14, 2019
1 parent 380671a commit ba2efb8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/fuzzing/fuzzer_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@
// The same bit pattern, interpreted as another type,
// is likely interesting.
// For this, we must know the size of the largest possible type in use.
// There are some problems on old compilers, hence the C++ version check
#if __cplusplus >= 201402L


// There are some problems on travis, claiming Nfixed is not a constant expression
// which seems to be an issue with older versions of libstdc++
#if _GLIBCXX_RELEASE >= 7
# include <algorithm>
# include <cstdint>
namespace fmt_fuzzer {
Expand Down

0 comments on commit ba2efb8

Please sign in to comment.