hurd: Make error_t an int in C++
commite3ae80adbc626c4073a082e0205fdbb83033018a
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 8 Aug 2023 14:03:24 +0000 (8 16:03 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 8 Aug 2023 14:07:57 +0000 (8 16:07 +0200)
tree92de469f1d5dc736809bf3f1beafa673205ba04b
parent3fcfb76bab97e55e7491db5fc1f11655b0993865
hurd: Make error_t an int in C++

Making error_t defined to enum __error_t_codes conveniently makes the
debugger print symbolic values, but in C++ int is not interoperable with
enum __error_t_codes, leading to C++ application build issues, so let's
revert error_t to int in C++.
sysdeps/mach/hurd/bits/types/error_t.h