src/video/riscos/SDL_riscostask.c
changeset 955 d74fbf56f2f6
parent 769 b8d311d90021
child 1035 974ba6ae0fa3
--- a/src/video/riscos/SDL_riscostask.c	Sat Sep 11 18:00:41 2004 +0000
+++ b/src/video/riscos/SDL_riscostask.c	Fri Sep 17 13:20:10 2004 +0000
@@ -39,6 +39,11 @@
 
 #include "SDL_riscostask.h"
 
+#ifndef DISABLE_THREADS
+#include <pthread.h>
+pthread_t main_thread;
+#endif
+
 /* RISCOS variables */
 
 static int task_handle = 0;
@@ -108,6 +113,10 @@
 	   return 1;
    }
 
+#ifndef DISABLE_THREADS
+   main_thread = pthread_self();
+#endif
+
    return 0;
 }