diff options
| author | Alejandro Sior <aho@sior.be> | 2022-08-06 21:26:03 +0200 |
|---|---|---|
| committer | Alejandro Sior <aho@sior.be> | 2022-08-06 21:26:03 +0200 |
| commit | a448a31cab64ab684a79bb179de7a859f8f9da1a (patch) | |
| tree | b6a61cde006eed7a5f81276c4a31dd909a7c057e /test/hai.c | |
| parent | 25027ef496681ff6f45386f98f9b81b465659e5b (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.c')
| -rw-r--r-- | test/hai.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/hai.c b/test/hai.c new file mode 100644 index 0000000..263a8de --- /dev/null +++ b/test/hai.c @@ -0,0 +1,8 @@ +#include "hai.h" + +#include <stdio.h> + +__declspec(dllexport) +void hai() { + printf("lol\n"); +}
\ No newline at end of file |
