Conditionally checks std::is_trivially_copyable only if available. (#3327)
This commit is contained in:
committed by
Daniel Patterson
parent
d5bf508046
commit
73e365d398
@@ -4,6 +4,7 @@
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <functional>
|
||||
#include <type_traits>
|
||||
|
||||
#include <bitset>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user