summaryrefslogtreecommitdiffstats
path: root/mmc_updater/src
diff options
context:
space:
mode:
Diffstat (limited to 'mmc_updater/src')
-rw-r--r--mmc_updater/src/StlSymbolsLeopard.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/mmc_updater/src/StlSymbolsLeopard.cpp b/mmc_updater/src/StlSymbolsLeopard.cpp
index d5f58ebf..932c78f0 100644
--- a/mmc_updater/src/StlSymbolsLeopard.cpp
+++ b/mmc_updater/src/StlSymbolsLeopard.cpp
@@ -6,6 +6,9 @@
//
// see http://stackoverflow.com/questions/3484043/os-x-program-runs-on-dev-machine-crashing-horribly-on-others
+// Only do this on GCC. It fails builds on clang.
+#if defined(__GCC__)
+
#include <iostream>
_GLIBCXX_BEGIN_NAMESPACE(std)
@@ -73,3 +76,6 @@ template wistream& wistream::_M_extract(void*&);
#endif
_GLIBCXX_END_NAMESPACE
+
+#endif
+