gddrescue: Do not build with uClibc-ng 9502/head
authorRosen Penev <rosenp@gmail.com>
Tue, 16 Jul 2019 20:54:09 +0000 (13:54 -0700)
committerRosen Penev <rosenp@gmail.com>
Tue, 16 Jul 2019 20:54:09 +0000 (13:54 -0700)
commit9172e2828f29d1c6de3997ab7b0246bf351d33d7
tree16ce3d3c22281630231b3f85c6453196fa011022
parent4fa58b2aff4b463a8728c843d08a2b7a247fb02d
gddrescue: Do not build with uClibc-ng

From the developer:

It seems that uClibc-ng is defining fgetc, fputc, feof, and ferror as
macros and not including them in std.

IMO this is a bug in uClibc-ng (maybe caused by lack of clarity in the
C++ standard), because even the C functions that are alowed to be
defined as macros (putc, getc) should be included in std for
consistency. Just imagine the chaos if std::getc were defined or
undefined depending on how it is implemented.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
utils/gddrescue/Makefile