From a70dcf2e3ff5fd6e6fb88f395722eb1199a74693 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Mon, 15 Apr 2024 16:26:44 +0630 Subject: ~extern "C"~ when including lib/inst.h --- asm/main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'asm/main.cpp') diff --git a/asm/main.cpp b/asm/main.cpp index 61ec667..8ae8a39 100644 --- a/asm/main.cpp +++ b/asm/main.cpp @@ -18,7 +18,10 @@ #include #include +extern "C" +{ #include +} #include "./base.hpp" #include "./lexer.hpp" -- cgit v1.2.3-13-gbd6f