diff options
author | Andrew <forkk@forkk.net> | 2013-12-13 12:04:52 -0600 |
---|---|---|
committer | Andrew <forkk@forkk.net> | 2013-12-13 12:04:52 -0600 |
commit | 07441a7e18c045a5415d339c8184ce3221c1fe56 (patch) | |
tree | ef34ffc8b28da7b6ace3013d8c8b530da3e6f610 /mmc_updater | |
parent | e6e63307fd2920d9eaaf32fc1595e4a141ac3b25 (diff) | |
download | MultiMC-07441a7e18c045a5415d339c8184ce3221c1fe56.tar MultiMC-07441a7e18c045a5415d339c8184ce3221c1fe56.tar.gz MultiMC-07441a7e18c045a5415d339c8184ce3221c1fe56.tar.lz MultiMC-07441a7e18c045a5415d339c8184ce3221c1fe56.tar.xz MultiMC-07441a7e18c045a5415d339c8184ce3221c1fe56.zip |
Disable some crazy OS X hacks on non-GCC compilers
Diffstat (limited to 'mmc_updater')
-rw-r--r-- | mmc_updater/src/StlSymbolsLeopard.cpp | 6 |
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 + |