riched20: Remove the unneeded DEFINE_STDCALL_WRAPPER.

Austin Lund austin.lund at
Thu Apr 7 18:02:24 CDT 2011

On 8 April 2011 08:09, Charles Davis <cdavis at> wrote:
> I don't know if this will help but...
> Both Clang and (recent) GCC have direct support for
> __attribute__((thiscall)) (and I would know about Clang, I added it to
> the LLVM side). We could potentially take advantage of this and not have
> to declare thunks like this.

That's definitely not portable.  It could be used with ifdefs, but
then one would have to ask if it is worth the effort.  Is there any
speed or security or other reason for preferring this method on
compilers that support it?

More information about the wine-devel mailing list