Revert "Re-add..."

This reverts commit b1faebae4a.
This commit is contained in:
Grant Limberg 2022-06-24 10:11:57 -07:00
commit c07e4a8c01
No known key found for this signature in database
GPG key ID: 8F2F97D3BE8D7735
333 changed files with 0 additions and 95037 deletions

View file

@ -1,14 +0,0 @@
// Check for strerror_r.
// It can be either the POSIX version (which returns int) or the GNU version
// (which returns char *).
#include <cstring>
#include <type_traits>
int main()
{
char buffer[200];
auto res{strerror_r(1, buffer, 200)};
// Sidestep type differences. We don't really care what the value is.
return not not res;
}