mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-11-01 15:33:50 +00:00
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:
+1
-6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user