summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/filepro/filepro.c2
-rw-r--r--ext/imap/imap.c4
-rw-r--r--ext/snmp/snmp.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/ext/filepro/filepro.c b/ext/filepro/filepro.c
index 36af39fbb6..5e64632512 100644
--- a/ext/filepro/filepro.c
+++ b/ext/filepro/filepro.c
@@ -27,7 +27,7 @@
#include "safe_mode.h"
#include "fopen-wrappers.h"
#include <string.h>
-#if MSVC5
+#if PHP_WIN32
#include <windows.h>
#else
#include <sys/param.h>
diff --git a/ext/imap/imap.c b/ext/imap/imap.c
index 447fb7a514..545f527882 100644
--- a/ext/imap/imap.c
+++ b/ext/imap/imap.c
@@ -3441,14 +3441,14 @@ PHP_FUNCTION(imap_mail_compose)
#if !(WIN32|WINNT)
int _php_imap_mail(char *to, char *subject, char *message, char *headers, char *cc, char *bcc, char* rpath)
{
-#if MSVC5
+#if PHP_WIN32
int tsm_err;
#else
FILE *sendmail;
int ret;
#endif
-#if MSVC5
+#if PHP_WIN32
if (imap_TSendMail(INI_STR("smtp"),&tsm_err,headers,subject,to,message,cc,bcc,rpath) != SUCCESS){
php_error(E_WARNING, GetSMErrorText(tsm_err));
return 0;
diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c
index 3b5556c57a..18ddf4ef14 100644
--- a/ext/snmp/snmp.c
+++ b/ext/snmp/snmp.c
@@ -25,7 +25,7 @@
#endif
#include "php_snmp.h"
#include <sys/types.h>
-#if MSVC5
+#if PHP_WIN32
#include <winsock.h>
#include <errno.h>
#include <process.h>