Hi,
> +static inline int pthread_key_create(pthread_key_t *key, void
....
"inline" does not work for plain C (it works of course for C++). This
applies to VS2003 and earlier.
In VS2005 and later, "inline" is also understood in C.
Both VS2003- and VS2005+ will understand "__inline".
> -----Original Message-----
> From: Stewart Smith [mailto:stewart@stripped]
> Sent: Wednesday, October 15, 2008 6:36 AM
> To: commits@stripped
> Subject: bzr commit into mysql-5.1 branch (stewart:3005)
>
> #At file:///C:/cygwin/home/stewart/mysql/win-ndbwin32/
>
> 3005 Stewart Smith 2008-10-15
> convert Win32 pthread implementation to static inline functions
> rather than macros. All have correct signature then.
> modified:
> include/my_pthread.h
> mysys/my_winthread.c