Modernize C builds with offline dependencies and portable runtime helpers (#3050)

Bundle pinned offline dependencies, remove libcork/libipset and submodule requirements, and add portable runtime helpers with relocatable static/shared library installations.

Add Clang static build validation for Linux/musl, macOS and Windows, real TCP/UDP and SIP003 interoperability coverage, and recorded performance tradeoffs. All 21 hosted checks pass at the reviewed PR head 8d504e6218.
This commit is contained in:
Max Lv
2026-09-11 13:42:11 +08:00
committed by GitHub
parent 8fe386b5c2
commit 201e70c4bd
120 changed files with 4631 additions and 1523 deletions
+1 -6
View File
@@ -192,14 +192,9 @@ extern int use_syslog;
#endif // if __ANDROID__
// Workaround for "%z" in Windows printf
#ifdef __MINGW32__
#define SSIZE_FMT "%Id"
#define SIZE_FMT "%Iu"
#else
/* C99 size formats; MinGW targets explicitly enable its ANSI stdio adapter. */
#define SSIZE_FMT "%zd"
#define SIZE_FMT "%zu"
#endif
#ifdef __MINGW32__
// Override Windows built-in functions