Commit f2c7b97
committed
Fix fakesdl headers when SDL directory included
We introduced the `fakesdl` headers back in emscripten-core#18443 so that anyone trying
to use SDL without using `-sUSE_SDL` (or similar) would see an error.
However we only covered the `SDL_xx.h` include case not the
`SDL/SDL_xx.h` use case.
This means that some users were not seeing the errors they should,
including a few of our test cases.
Split out from emscripten-core#262751 parent 3e49e31 commit f2c7b97
59 files changed
Lines changed: 24 additions & 18 deletions
File tree
- site/source/docs/tools_reference
- src
- system/include/fakesdl/SDL
- test
- tools
- maint
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1476 | 1476 | | |
1477 | 1477 | | |
1478 | 1478 | | |
1479 | | - | |
1480 | | - | |
1481 | | - | |
1482 | | - | |
1483 | | - | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
1484 | 1485 | | |
1485 | 1486 | | |
1486 | 1487 | | |
| |||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
0 commit comments