From 3391c44107d7e73b50286d710c69dc974640a05f Mon Sep 17 00:00:00 2001 From: Christian Schmitt Date: Wed, 28 Nov 2012 18:29:15 +0100 Subject: [PATCH] SGThread: compile under MSVC --- simgear/threads/SGThread.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simgear/threads/SGThread.cxx b/simgear/threads/SGThread.cxx index b5761215..0ba71f40 100644 --- a/simgear/threads/SGThread.cxx +++ b/simgear/threads/SGThread.cxx @@ -81,7 +81,7 @@ struct SGThread::PrivateData { HANDLE _handle; }; -static long SGThread::current( void ) { +long SGThread::current( void ) { return (long)GetCurrentThreadId(); } -- 2.39.5