From: Doug Rupp Date: Thu, 10 Sep 2020 18:00:32 +0000 (-0700) Subject: [Ada] x86-lynx178elf - gcc build fails X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=51fb7000aa3e53f663e66519074b7bb0767f09f7;p=gcc.git [Ada] x86-lynx178elf - gcc build fails gcc/ada/ * s-oscons-tmplt.c (_nfds_t): Use sizeof (unsigned long int). --- diff --git a/gcc/ada/s-oscons-tmplt.c b/gcc/ada/s-oscons-tmplt.c index e3e5bc2f03d..bce5437c6dc 100644 --- a/gcc/ada/s-oscons-tmplt.c +++ b/gcc/ada/s-oscons-tmplt.c @@ -1739,6 +1739,9 @@ CND(SIZEOF_sigset, "sigset") #if defined(_WIN32) || defined(__vxworks) #define SIZEOF_nfds_t sizeof (int) * 8 #define SIZEOF_socklen_t sizeof (size_t) +#elif defined(__Lynx__) +#define SIZEOF_nfds_t sizeof (unsigned long int) * 8 +#define SIZEOF_socklen_t sizeof (socklen_t) #else #define SIZEOF_nfds_t sizeof (nfds_t) * 8 #define SIZEOF_socklen_t sizeof (socklen_t)