summaryrefslogtreecommitdiff
path: root/test/hai.h
diff options
context:
space:
mode:
authorAlejandro Sior <aho@sior.be>2022-08-06 21:26:03 +0200
committerAlejandro Sior <aho@sior.be>2022-08-06 21:26:03 +0200
commita448a31cab64ab684a79bb179de7a859f8f9da1a (patch)
treeb6a61cde006eed7a5f81276c4a31dd909a7c057e /test/hai.h
parent25027ef496681ff6f45386f98f9b81b465659e5b (diff)
cook: add preliminary MSVC C toolchain support
It cannot properly create and link against .DLLs yet, the current implementation of it is a hack (using mkextra). Static libraries, executables as well as cc work in a respectable manner.
Diffstat (limited to 'test/hai.h')
-rw-r--r--test/hai.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/hai.h b/test/hai.h
new file mode 100644
index 0000000..5da3133
--- /dev/null
+++ b/test/hai.h
@@ -0,0 +1,3 @@
+__declspec(dllexport)
+void hai();
+// test \ No newline at end of file