On 06/18/13 10:03, Rich Felker wrote:
> 1. In the #else case, instead of #error, put if(0)....
> 2. Write a "portable" version of the replacement code

How about this idea instead?

  3.  Modify gl_FUNC_FFLUSH_STDIN so that it checks at
      compile-time whether it's using musl, and succeeds
      in that case.

This should be more robust than (1), and easier to implement
than (2).  Can you suggest code along those lines?  And if
it's nontrivial, would you be willing to sign copyright
papers assigning the code to the FSF?

Reply via email to