Revert "Add an invalid #define for SDL_ThreadID() to SDL_oldnames.h (#15801)"
Some checks are pending
Build (All) / Create test plan (push) Waiting to run
Build (All) / level1 (push) Blocked by required conditions
Build (All) / level2 (push) Blocked by required conditions

This reverts commit b04d026458.

This caused problems building sdl2-compat:
https://github.com/libsdl-org/sdl2-compat/actions/runs/27378527337/job/81120423041
This commit is contained in:
Sam Lantinga 2026-06-12 14:59:22 -07:00
parent e93f8e19fd
commit 9c30a7cc82
3 changed files with 0 additions and 71 deletions

View file

@ -55,12 +55,6 @@
#include <windows.h>
#endif
#ifdef SDL_ThreadID
/* prevent the SDL_ThreadID() define from SDL_oldnames.h from breaking
function pointer definitions */
#undef SDL_ThreadID
#endif
/* This is the version of the dynamic API. This doesn't match the SDL version
and should not change until there's been a major revamp in API/ABI.
So 2.0.5 adds functions over 2.0.4? This number doesn't change;