mirror of
https://github.com/php/php-src.git
synced 2025-01-19 02:03:47 +08:00
New file added for NetWare.
This commit is contained in:
parent
8f82834a79
commit
f4543e57f4
17
netware/sendmail_nw.h
Normal file
17
netware/sendmail_nw.h
Normal file
@ -0,0 +1,17 @@
|
||||
|
||||
#ifdef USE_WINSOCK
|
||||
/*#include <ws2nlm.h>*/
|
||||
#include <novsock2.h>
|
||||
#else
|
||||
#include <sys/socket.h> /* For struct sockaddr, 'PF_INET' and 'AF_INET' */
|
||||
#include <netinet\in.h> /* For struct sockaddr_in */
|
||||
#include <netdb.h> /* For struct hostent */
|
||||
/*#include <ws2name.h>*/
|
||||
#endif /* USE_WINSOCK */
|
||||
|
||||
typedef int SOCKET; /* Borrowed from winsock\novsock2.h */
|
||||
typedef struct sockaddr_in SOCKADDR_IN;
|
||||
typedef struct sockaddr * LPSOCKADDR;
|
||||
typedef struct hostent * LPHOSTENT;
|
||||
|
||||
#define INVALID_SOCKET (SOCKET)(~0) /* Borrowed from winsock\novsock2.h */
|
Loading…
Reference in New Issue
Block a user