From: Christian Schmitt Date: Wed, 28 Nov 2012 17:29:15 +0000 (+0100) Subject: SGThread: compile under MSVC X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3391c44107d7e73b50286d710c69dc974640a05f;p=simgear.git SGThread: compile under MSVC --- 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(); }