Eli Zaretskii wrote:

That seems to be the problem. What I still don't get is how come the
same declaration that uses FARPROC works for the MinGW build? Can you
figure this out?


Without looking at the disassembly, I'd guess that MinGW gcc and non-optimised MSVC builds restore the stack pointer from a known location regardless of the calling convention, which should always work.


If we know this, we could fix the DEF_IMGLIB_FN macro so that it does
TRT for both compilers, e.g., by using __MINGW__ condition.


I think TRT will not depend on __MINGW__. Mingw works despite there being a bug, not because of it.



_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to