X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/311854206c50ea4207e7e1faa4efeb20f1bc8290..8e029c653e0567df7ce6933dde41f5830dbbbcda:/i386/sys/connect.s diff --git a/i386/sys/connect.s b/i386/sys/connect.s index b323669..51fa9d7 100644 --- a/i386/sys/connect.s +++ b/i386/sys/connect.s @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999 Apple Computer, Inc. All rights reserved. + * Copyright (c) 1999, 2006 Apple Computer, Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * @@ -23,10 +23,15 @@ /* * Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved */ -#include "SYS.h" +#include +#ifdef __LP64__ +UNIX_SYSCALL(connect, 3) + ret +#else /* !__LP64__ */ PSEUDO(connect$UNIX2003, connect, 3) ret UNIX_SYSCALL_ERR(connect, 3, cerror_cvt) ret +#endif /* !__LP64__ */