From: Johannes Sixt Date: Fri, 21 Aug 2009 17:37:18 GMT Subject: Re: [msysGit] [PATCH 07/14] Fix __stdcall/WINAPI placement and function prototype Message-ID: <200908211937.18296.j6t@kdbg.org> In-Reply-To: <9e8fc158b4d4331d698d1fe4ed33a61fbb011412.1250860247.git.mstormo@gmail.com> On Freitag, 21. August 2009, Marius Storm-Olsen wrote: > -static __stdcall unsigned ticktack(void *dummy) > +static unsigned WINAPI ticktack(void *dummy) > -static __stdcall unsigned run_thread(void *data) > +static unsigned WINAPI run_thread(void *data) These two are not nice. As I said in an earlier mail: The documentation says that the thread function pointer that is passed to _beginthreadex must have __stdcall calling convention. Therefore, you should not change these to WINAPI. -- Hannes