Skip to content

windows: fix builds targeting WinXP, test it in CI#17415

Closed
vszakats wants to merge 2 commits intocurl:masterfrom
vszakats:ci-xp
Closed

windows: fix builds targeting WinXP, test it in CI#17415
vszakats wants to merge 2 commits intocurl:masterfrom
vszakats:ci-xp

Conversation

@vszakats
Copy link
Member

@vszakats vszakats commented May 22, 2025

  • appveyor: make a job target Windows XP.

  • examples/block_ip: force this specific example to target Vista to make
    it compile when building curl for Windows XP. Fixing:

    docs\examples\block_ip.c(157): warning C4013: 'inet_pton' undefined; assuming extern returning int
    docs\examples\block_ip.c(272): warning C4013: 'inet_ntop' undefined; assuming extern returning int
    

    Ref: https://ci.appveyor.com/project/curlorg/curl/builds/52102142/job/2ajdluhc20r4gmmw#L530

Cherry-picked from #17413

@vszakats vszakats added build documentation Windows Windows-specific CI Continuous Integration labels May 22, 2025
@vszakats vszakats closed this in 4331e70 May 22, 2025
@vszakats vszakats deleted the ci-xp branch May 22, 2025 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build CI Continuous Integration documentation Windows Windows-specific

Development

Successfully merging this pull request may close these issues.

1 participant