Skip to content

Commit a737db0

Browse files
committed
Ignore new floating point definition in SDL headers.
Fixes the parsing of SDL 2.0.22 headers.
1 parent f2d23ce commit a737db0

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Changes relevant to the users of python-tcod are documented here.
44
This project adheres to [Semantic Versioning](https://semver.org/) since version `2.0.0`.
55

66
## [Unreleased]
7+
### Fixed
8+
- Fixed the parsing of SDL 2.0.22 headers. Specifically `SDL_FLT_EPSILON`.
79

810
## [13.6.2] - 2022-05-02
911
### Fixed

build_sdl.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@
6363
# Prevent double definition.
6464
"SDL_FALSE",
6565
"SDL_TRUE",
66+
# Ignore floating point symbols.
67+
"SDL_FLT_EPSILON",
6668
)
6769
)
6870

0 commit comments

Comments
 (0)