summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2016-11-12 11:20:01 +0100
committerKalle Sommer Nielsen <kalle@php.net>2016-11-12 11:20:01 +0100
commit2104bea5d756dfa40b605a4a2765a3bc4637a76c (patch)
tree68be7fbf19a8acf7badda5cfc97a6b00fb36d4d7 /win32
parentb3093082fdca748846c37dd52c9b0e978cc772f4 (diff)
downloadphp-git-2104bea5d756dfa40b605a4a2765a3bc4637a76c.tar.gz
Remove Netware support
If this does not break the Unix system somehow, I'll be amazed. This should get most of it out, apologies for any errors this may cause on non-Windows ends which I cannot test atm.
Diffstat (limited to 'win32')
-rw-r--r--win32/sendmail.c10
-rw-r--r--win32/sendmail.h2
2 files changed, 0 insertions, 12 deletions
diff --git a/win32/sendmail.c b/win32/sendmail.c
index 9195f21503..5f27454e33 100644
--- a/win32/sendmail.c
+++ b/win32/sendmail.c
@@ -22,20 +22,14 @@
#include "php.h" /*php specific */
#include <stdio.h>
#include <stdlib.h>
-#ifndef NETWARE
#include <winsock2.h>
#include "time.h"
# include <Ws2tcpip.h>
-#else /* NETWARE */
-#include <netware/sendmail_nw.h>
-#endif /* NETWARE */
#include <string.h>
#include <math.h>
-#ifndef NETWARE
#include <malloc.h>
#include <memory.h>
#include <winbase.h>
-#endif /* NETWARE */
#include "sendmail.h"
#include "php_ini.h"
#include "inet.h"
@@ -72,11 +66,7 @@
char seps[] = " ,\t\n";
-#ifndef NETWARE
char *php_mailer = "PHP 7 WIN32";
-#else
-char *php_mailer = "PHP 7 NetWare";
-#endif /* NETWARE */
/* Error messages */
static char *ErrorMessages[] =
diff --git a/win32/sendmail.h b/win32/sendmail.h
index 855792df73..bb502cb7dd 100644
--- a/win32/sendmail.h
+++ b/win32/sendmail.h
@@ -1,8 +1,6 @@
#if !defined(sendmail_h) /* Sentry, use file only if it's not already included. */
#define sendmail_h
-#ifndef NETWARE
#include <windows.h>
-#endif
#define HOST_NAME_LEN 256
#define MAX_APPNAME_LENGTH 100