Gerald Pfeifer wrote:
I believe relying on __compar_fn_t in dlls/wineps/afm.c is a Linuxism recently added to dlls/wineps/afm.c (and only there), Ian.
My apologies. The GNU version of stdlib.h includes the following snippet, which led be to believe that __compar_fn_t was standard:
/* Shorthand for type of comparison functions. */ #ifndef __COMPAR_FN_T # define __COMPAR_FN_T typedef int (*__compar_fn_t) (__const void *, __const void *);
# ifdef __USE_GNU typedef __compar_fn_t comparison_fn_t; # endif #endif
(Trying to show that I'm not a complete idiot!) I have sent a patch in to replace the use of __compar_fn_t with a typedef.
Thanks for catching that.