【新增】 tcc环境

This commit is contained in:
dlaren
2025-08-21 13:18:06 +08:00
parent fea4fe6192
commit 1513c43734
100 changed files with 42487 additions and 0 deletions

13
tcc/examples/dll.c Normal file
View File

@@ -0,0 +1,13 @@
//+---------------------------------------------------------------------------
//
// dll.c - Windows DLL example - dynamically linked part
//
#include <windows.h>
__declspec(dllexport) const char *hello_data = "(not set)";
__declspec(dllexport) void hello_func (void)
{
MessageBox (0, hello_data, "From DLL", MB_ICONINFORMATION);
}