sdl12-compat: added LP64 note about ThreadID functions.

From 29a24a4ac92dfc916bd7132de4c889c59061d39a Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Wed, 3 Mar 2021 06:15:00 +0300
Subject: [PATCH] added LP64 note about ThreadID functions.

---
 src/SDL20_syms.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/SDL20_syms.h b/src/SDL20_syms.h
index 4d76b49..591a447 100644
--- a/src/SDL20_syms.h
+++ b/src/SDL20_syms.h
@@ -150,8 +150,11 @@ SDL20_SYM(SDL_Thread *,CreateThread,(SDL_ThreadFunction a, const char *b, void *
 SDL20_SYM(SDL_Thread *,CreateThread,(SDL_ThreadFunction a, const char *b, void *c),(a,b,c),return)
 #endif
 
+/* These two will truncate the returned value on LP64 systems,
+ * a shortcoming of SDL-1.2.. */
 SDL20_SYM_PASSTHROUGH(Uint32,GetThreadID,(SDL_Thread *a),(a),return)
 SDL20_SYM_PASSTHROUGH(Uint32,ThreadID,(void),(),return)
+
 SDL20_SYM_PASSTHROUGH(void,WaitThread,(SDL_Thread *a, int *b),(a,b),)
 SDL20_SYM_PASSTHROUGH(SDL_mutex*,CreateMutex,(void),(),return)
 SDL20_SYM(int,LockMutex,(SDL_mutex *a),(a),return)