With the single change from
#define DEF_IMGLIB_FN(func) FARPROC fn_##func
to
#define DEF_IMGLIB_FN(func) int (FAR CDECL *fn_##func)()
all test images I have do work beautifully.
MORE IMPORTANT: two horrible hacks that I added about a year ago (when
I first fought this same issue and came to the wrong conclusion) to
keep Emacs from crashing CAN BE REMOVED!
So I'd say this is probably the right answer. I've commited the
changes so people with MinGW builds can test them.
If this works for them, today will be a happy day indeed :)
/L/e/k/t/u
_______________________________________________
Emacs-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-devel