Files
Marek Sedlak 6a64e72dc6 Fix GitHub Actions CI and Windows/MinGW build compatibility (#1237)
Update GitHub Actions workflow:
- Upgrade deprecated actions (checkout, upload/download-artifact,
  codecov, gh-release) to v4/v2
- Replace deprecated ::set-output with $GITHUB_OUTPUT
- Update runner images: remove deprecated macos-13, add macos-15,
  update Ubuntu to 22.04/24.04 and Windows to 2022/2025
- Make Windows coverage generation non-fatal
- Clean up stale gcov artifacts before coverage runs
- Disable fail-fast on test matrices

Fix Windows/MinGW build errors:
- Modernize K&R-style C function definitions to ANSI C in
  win32/getopt.c, getopt1.c, and getopt.h
- Rename reserved __argc/__argv parameter names in getopt.h
- Fix implicit declarations: GetAdaptersInfo (add iphlpapi.h),
  getenv (add stdlib.h), _byteswap_ulong (add stdlib.h)
- Fix type mismatches: setsockopt (const char* cast),
  CryptGenRandom (BYTE* cast), pthread_create/mutex_trylock macros
- Extend N2N_THREAD_RETURN/PARAMETER_DATATYPE to cover __MINGW32__
- Exclude MinGW from system getopt.h to use local version

Fix Python and C linting:
- Fix flake8 E275 in n2n-ctl and n2n-httpd (assert syntax)
- Fix uncrustify indentation in HASH_FIND_PEER/HASH_ADD_PEER macros

Made-with: Cursor
2026-03-03 00:26:30 +01:00
..
2021-02-08 16:11:06 +05:45
2021-02-08 16:11:06 +05:45
2020-08-15 23:26:21 +05:45
2020-08-15 23:26:21 +05:45
2020-08-15 23:26:21 +05:45
2021-02-08 16:11:06 +05:45
2021-10-06 00:52:15 +05:45
2021-02-10 15:16:16 +05:45
2021-02-08 16:11:06 +05:45
2020-06-21 22:26:27 +02:00