diff options
Diffstat (limited to 'src/zig_llvm.cpp')
| -rw-r--r-- | src/zig_llvm.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/zig_llvm.cpp b/src/zig_llvm.cpp index 699963f5d3..be4cf2ac05 100644 --- a/src/zig_llvm.cpp +++ b/src/zig_llvm.cpp @@ -5,6 +5,13 @@ * See http://opensource.org/licenses/MIT */ +// This must go before all includes. +#include "config.h" +#if defined(ZIG_LLVM_OLD_CXX_ABI) +#define _GLIBCXX_USE_CXX11_ABI 0 +#endif + + #include "zig_llvm.hpp" /* |
