Main, pcm/SampleFormat, command/Error: remove obsolete GCC version checks

This commit is contained in:
Max Kellermann
2018-07-16 10:31:42 +02:00
parent 2fb5dbe62b
commit 86a37d0ed6
3 changed files with 5 additions and 50 deletions

View File

@@ -118,13 +118,7 @@ static constexpr size_t MEGABYTE = 1024 * KILOBYTE;
static constexpr size_t DEFAULT_BUFFER_SIZE = 4 * MEGABYTE;
static
#if GCC_OLDER_THAN(5,0)
/* gcc 4.x has no "constexpr" for std::max() */
const
#else
constexpr
#endif
static constexpr
size_t MIN_BUFFER_SIZE = std::max(CHUNK_SIZE * 32,
64 * KILOBYTE);