mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
solve the mystery of undefined reference error
big surprise, C++ is to blame
This commit is contained in:
1 parent
8409e518ab
commit
8d60ffe314
3 files changed
+23
No files matched your search
@@ -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"
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user