summaryrefslogtreecommitdiff
path: root/netware/sendmail_nw.h
diff options
context:
space:
mode:
authorAnantha Kesari H Y <hyanantha@php.net>2005-07-28 09:40:50 +0000
committerAnantha Kesari H Y <hyanantha@php.net>2005-07-28 09:40:50 +0000
commite78ea8251aae83920cce308595cc8957bb38a910 (patch)
tree4bafd6836a3efba41474dbac5ee3f3a71d417b3e /netware/sendmail_nw.h
parent1de8a4c08cc7d639c7e1092908d851fb9263e12b (diff)
downloadphp-git-e78ea8251aae83920cce308595cc8957bb38a910.tar.gz
Cleaned up the NetWare code.
--Kamesh
Diffstat (limited to 'netware/sendmail_nw.h')
-rw-r--r--netware/sendmail_nw.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/netware/sendmail_nw.h b/netware/sendmail_nw.h
index d1601fba06..b88f8e12a1 100644
--- a/netware/sendmail_nw.h
+++ b/netware/sendmail_nw.h
@@ -1,12 +1,14 @@
+#define closesocket close
+#define LPCSTR char *
+#define LPSTR char*
+#define FAR
#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 */