diff options
author | Andi Gutmans <andi@php.net> | 2000-02-10 22:00:52 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2000-02-10 22:00:52 +0000 |
commit | 1c7f36465b49721372d8b677ada9c8197b4a04eb (patch) | |
tree | 435e1592dd84bb7ea0e27374ea1df60f89198ae7 /ext | |
parent | 8d012c45e257214b79f22c207deed551c366bdad (diff) | |
download | php-git-1c7f36465b49721372d8b677ada9c8197b4a04eb.tar.gz |
- A few more
Diffstat (limited to 'ext')
-rw-r--r-- | ext/filepro/filepro.c | 2 | ||||
-rw-r--r-- | ext/imap/imap.c | 4 | ||||
-rw-r--r-- | ext/snmp/snmp.c | 2 |
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> |