| Summary: | Windows headers are included after packing alignment change | ||
|---|---|---|---|
| Product: | SDL | Reporter: | lectem |
| Component: | *don't know* | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | sezeroz |
| Version: | HG 2.1 | ||
| Hardware: | x86 | ||
| OS: | Windows 10 | ||
| Attachments: | SDL_stdinc.h patch | ||
|
Description
lectem
2018-05-07 23:42:28 UTC
It might actually be a good idea to not put this `#include "begin_code.h"` before any other system header in fact... So probably the same issue for X11, UIKit etc Good point. Fixed, thanks! https://hg.libsdl.org/SDL/rev/eba3a7c4ba16 Created attachment 3243 [details]
SDL_stdinc.h patch
For consistency, move the alloca() includes before begin_code.h in SDL_stdinc.h.
(In reply to Ozkan Sezer from comment #3) > Created attachment 3243 [details] > SDL_stdinc.h patch > > For consistency, move the alloca() includes before begin_code.h in > SDL_stdinc.h. Pushed this change as http://hg.libsdl.org/SDL/rev/a9203ed58516 |