1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-24 23:33:50 +02:00

Merge pull request #193 from walisser/clang

Fix clang build
This commit is contained in:
James Crook
2017-04-09 22:31:32 +01:00
committed by GitHub
3 changed files with 26 additions and 11 deletions

View File

@@ -26,8 +26,10 @@
// If building with GNU compiler, then must be 4.9 or later.
// TODO: This would be much nicer as a standalone test in configure.ac
#if !defined(__APPLE__) && defined __GNUC__ && ( __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 9))
#error insufficient compiler
#if !defined(__APPLE__) && !defined(__clang__) && \
defined __GNUC__ && ( __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 9))
#error Audacity requires at least GCC 4.9
#endif