Disable some crazy OS X hacks on non-GCC compilers

This commit is contained in:
Andrew 2013-12-13 12:04:52 -06:00
parent e6e63307fd
commit 07441a7e18

View File

@ -6,6 +6,9 @@
// //
// see http://stackoverflow.com/questions/3484043/os-x-program-runs-on-dev-machine-crashing-horribly-on-others // 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> #include <iostream>
_GLIBCXX_BEGIN_NAMESPACE(std) _GLIBCXX_BEGIN_NAMESPACE(std)
@ -73,3 +76,6 @@ template wistream& wistream::_M_extract(void*&);
#endif #endif
_GLIBCXX_END_NAMESPACE _GLIBCXX_END_NAMESPACE
#endif