1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-01 16:19:43 +02:00
audacity/mac/configmac.h
Leland Lucius 50224b3a0c Change ho underaligned warning is disabled
Since it is only issued with clang 11(+), attempting to
disable it for via Xcode options doesn't work on older
versions of Xcode/clang.

So, make it clang version specific via configmac.h.
2019-12-30 19:42:46 -06:00

10 lines
194 B
C

// Macintosh-specific include file
#include "../src/configunix.h"
#define USE_AQUA_THEME 1
#if __clang_major__ >= 11
#pragma clang diagnostic ignored "-Wunderaligned-exception-object"
#endif