feat: add MinGW cross-compilation support for Windows builds on Linux (#2108)

This commit is contained in:
涵曦
2025-11-26 00:07:43 +08:00
committed by GitHub
parent 5608d39789
commit 234e134967
19 changed files with 3101 additions and 2 deletions

7
3rd/compat-mingw/dlfcn.h Normal file
View File

@@ -0,0 +1,7 @@
#pragma once
enum { RTLD_NOW, RTLD_GLOBAL };
void *dlopen(const char *path, int flag);
const char *dlerror();
void *dlsym(void *dl, const char *sym);