[PATCH] Fix attribute naked

Jeff Muizelaar muizelaar at rogers.com
Sat Mar 20 22:10:15 CST 2004


The attached patch changes declspec(naked) to __attribute__(cdecl) from 
__attribute__(naked)
As seen in the gcc documentation 
(http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html#Function%20Attributes),
__attribute__(naked) does not do the same thing as declspec(naked) 
instead __attribute__(cdecl) does.

http://www.cs.cornell.edu/courses/cs412/2001sp/resources/microsoft-calling-conventions.html

-Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: naked.patch
Type: text/x-patch
Size: 856 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20040320/eb4050a1/naked.bin


More information about the wine-patches mailing list