From: Erik Faye-Lund Date: Wed, 04 Nov 2009 14:19:39 GMT Subject: Re: [PATCH] MSVC: port pthread code to native Windows threads Message-ID: <40aa078e0911040619m7ca6350bw659a95a17a56be2d@mail.gmail.com> In-Reply-To: <16cee31f0911040614p2d58c418m29e66ac825b12986@mail.gmail.com> On Wed, Nov 4, 2009 at 3:14 PM, Andrzej K. Haczewski wrote: > 2009/11/4 Johannes Sixt : > >>> +static __inline int pthread_cond_init(pthread_cond_t *cond, const void *unused) >> >> What's wrong with 'static inline int ...' (without the underscores)? >> > > Forgot to answer. 'inline' is avaliable in C++ only (on MSVC at > least), while '__inline' is MS extension for C and C++. You don't need it: compat/msvc.h:9:#define inline __inline -- Erik "kusma" Faye-Lund