Conditionally checks std::is_trivially_copyable only if available. (#3327)

This commit is contained in:
Daniel J. H
2016-11-16 21:07:45 +01:00
committed by Daniel Patterson
parent d5bf508046
commit 73e365d398
3 changed files with 10 additions and 5 deletions
+1
View File
@@ -4,6 +4,7 @@
#include <cstddef>
#include <cstdint>
#include <functional>
#include <type_traits>
#include <bitset>
+2 -2
View File
@@ -10,7 +10,7 @@
#define isatty _isatty
#define fileno _fileno
#else
#error Unknown platform - don't know which header to include for isatty()
#error Unknown platform - isatty implementation required
#endif // win32
#endif // unix
@@ -29,4 +29,4 @@ inline bool IsStdoutATTY() { return isatty(fileno(stdout)); }
} // namespace util
} // namespace osrm
#endif
#endif