mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-15 17:28:28 +00:00
Updated add_symbol_to_oldnames
This commit is contained in:
parent
61232de1ab
commit
9b8208c195
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ def add_symbol_to_oldnames(header, oldname, newname):
|
|||
content_added = False
|
||||
else:
|
||||
raise Exception("add_symbol_to_oldnames(): expected mode 0")
|
||||
elif line == "#else /* !SDL_ENABLE_OLD_NAMES */":
|
||||
elif line == "#elif !defined(SDL_DISABLE_OLD_NAMES)":
|
||||
if mode == 1:
|
||||
if not section_added:
|
||||
i = add_line(lines, i, section)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue