diff options
Diffstat (limited to 'libjava/include/posix.h')
-rw-r--r-- | libjava/include/posix.h | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/libjava/include/posix.h b/libjava/include/posix.h index c49da05eb11..6bd560c5a23 100644 --- a/libjava/include/posix.h +++ b/libjava/include/posix.h @@ -1,6 +1,6 @@ // posix.h -- Helper functions for POSIX-flavored OSs. -/* Copyright (C) 2000, 2002, 2003, 2006, 2010 Free Software Foundation +/* Copyright (C) 2000, 2002, 2003, 2006, 2010, 2012 Free Software Foundation This file is part of libgcj. @@ -11,11 +11,6 @@ details. */ #ifndef __JV_POSIX_H__ #define __JV_POSIX_H__ -/* Required on Tru64 UNIX V4/V5 so <sys/socket.h> defines prototypes of - socket functions with socklen_t instead of size_t. This must be defined - early so <standards.h> defines the correct version of __PIIX. */ -#define _POSIX_PII_SOCKET - #include <time.h> #include <sys/types.h> @@ -155,15 +150,6 @@ _Jv_bind (int fd, struct sockaddr *addr, int addrlen) #undef bind -// Same problem with accept on Tru64 UNIX with _POSIX_PII_SOCKET -inline int -_Jv_accept (int fd, struct sockaddr *addr, socklen_t *addrlen) -{ - return ::accept (fd, addr, addrlen); -} - -#undef accept - inline int _Jv_listen (int fd, int backlog) { |