Initial support for MacOS.
This will soon be complemented with MacOS specific source code files and INSTALL.MacOS. I (Andy) have decided to get rid of a number of #include <sys/types.h>. I've verified it's ok (both by examining /usr/include/*.h and compiling) on a number of Unix platforms. Unfortunately I don't have Windows box to verify this on. I really appreciate if somebody could try to compile it and contact me a.s.a.p. in case a problem occurs. Submitted by: Roy Wood <roy@centricsystems.ca> Reviewed by: Andy Polyakov <appro@fy.chalmers.se>
This commit is contained in:
@@ -163,8 +163,7 @@ static int fd_free(BIO *a)
|
||||
if (a->init)
|
||||
{
|
||||
#ifndef BIO_FD
|
||||
shutdown(a->num,2);
|
||||
closesocket(a->num);
|
||||
SHUTDOWN2(a->num);
|
||||
#else /* BIO_FD */
|
||||
close(a->num);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user