Bruno Haible <[EMAIL PROTECTED]> writes: > Simon Josefsson wrote: >> A bit weird approach of checking for a compatible type, perhaps, but >> if it works, then I'm all for it. Bruno, what do you think? > > It's the standard way of determining a function's prototype. At first sight, > it would be possible to use a single loop instead of a double loop by using > the prototype > int getsockopt (int, int, int, void *, $t *); > which has only 1 unknown parameter. But some systems like BeOS don't have > getsockopt() at all. Therefore I'm in favour of Albert's macro.
Yup, me too. Albert, are you willing to assign the copyright for that code to the FSF, so it can be added to gnulib? Thanks, Simon _______________________________________________ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib