aboutsummaryrefslogtreecommitdiff
path: root/asm/main.cpp
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-04-15 16:26:44 +0630
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-04-15 16:26:44 +0630
commita70dcf2e3ff5fd6e6fb88f395722eb1199a74693 (patch)
treeb92aa6bb316b9302519860a49df1bbf5c929a0ea /asm/main.cpp
parent5319fd815da58af6168c619209ff7a3c39eb2896 (diff)
downloadovm-a70dcf2e3ff5fd6e6fb88f395722eb1199a74693.tar.gz
ovm-a70dcf2e3ff5fd6e6fb88f395722eb1199a74693.tar.bz2
ovm-a70dcf2e3ff5fd6e6fb88f395722eb1199a74693.zip
~extern "C"~ when including lib/inst.h
Diffstat (limited to 'asm/main.cpp')
-rw-r--r--asm/main.cpp3
1 files changed, 3 insertions, 0 deletions
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 <tuple>
#include <vector>
+extern "C"
+{
#include <lib/inst.h>
+}
#include "./base.hpp"
#include "./lexer.hpp"