Project

General

Profile

Actions

Bug #2211

closed

SDL2_rotozoom.c includes "windows.h" before SDL2_rotozoom.h -> fc_prehdrs.h -> winsock2.h

Added by Marko Lindqvist 2 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Category:
sdl2-client
Target version:
Start date:
09/03/2026
Due date:
% Done:

0%

Estimated time:

Description

If both are included, winsock2.h should be included before windows.h, and that's what fc_prehdrs.h tries to do. But in case of included SDL2_rotozoom.h "windows.h" is included directly already before fc_prehdrs.h. This leads at least to a #warning


Files


Related issues 5 (0 open — 5 closed)

Blocks Feature #2212: Crosser-2.12ClosedMarko Lindqvist09/03/2026

Actions
Blocks Task #2218: Release 3.2.7ClosedMarko Lindqvist09/05/2026

Actions
Blocks Task #2116: S3_3-alpha3ClosedMarko Lindqvist08/04/2026

Actions
Blocks Feature #2252: Msys2-next after 260728ClosedMarko Lindqvist09/13/2026

Actions
Blocks Feature #2253: CI: Don't install SDL2_gfx for msys2 jobClosedMarko Lindqvist09/13/2026

Actions
Actions

Also available in: Atom PDF