From f7f517e27d65d913fa89945c6a7945804e005fe4 Mon Sep 17 00:00:00 2001 From: "W. Eric Norum" Date: Tue, 14 Mar 2000 16:51:11 +0000 Subject: [PATCH] Add definition for SOCKADDR_HAS_LEN -- this ensures the the correct code in default/osdNetIntf.c is used. --- src/libCom/osi/os/RTEMS/osdSock.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/libCom/osi/os/RTEMS/osdSock.h b/src/libCom/osi/os/RTEMS/osdSock.h index 4eed5036d..8b119881a 100644 --- a/src/libCom/osi/os/RTEMS/osdSock.h +++ b/src/libCom/osi/os/RTEMS/osdSock.h @@ -73,10 +73,8 @@ int select(int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, st #define SD_BOTH 2 /* - * Ensure that we get the right network code in osdSock.c + * Ensure that we get the right network code in default/osdNetIntf.c. */ -#if (defined(BSD) && (BSD < 44)) -# define BSD 44 -#endif +#define SOCKADDR_HAS_LEN 1 #endif /*osdSockH*/