1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-11 17:41:15 +02:00

Don't use c++11 fix ups on OSX 10.6 (requested by macrports.org)

This commit is contained in:
James Crook 2018-03-21 08:45:59 +00:00
parent 2a8cec8bbb
commit 47451da0e0

View File

@ -11,7 +11,11 @@
// std:: containers knowing about rvalue references // std:: containers knowing about rvalue references
#undef __AUDACITY_OLD_STD__ #undef __AUDACITY_OLD_STD__
#if defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED <= __MAC_10_6
// Clang 5.0 on OSX 10.6 CAN handle C++11, if built with -std=c++11
// So use "< __MAC_10_6" rather than "<= __MAC_10_6"
// Requested by macports.org https://trac.macports.org/ticket/56114
#if defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED < __MAC_10_6
#define __AUDACITY_OLD_STD__ #define __AUDACITY_OLD_STD__