]> granicus.if.org Git - php/commitdiff
- A few more
authorAndi Gutmans <andi@php.net>
Thu, 10 Feb 2000 22:00:52 +0000 (22:00 +0000)
committerAndi Gutmans <andi@php.net>
Thu, 10 Feb 2000 22:00:52 +0000 (22:00 +0000)
ext/filepro/filepro.c
ext/imap/imap.c
ext/snmp/snmp.c

index 36af39fbb6e7b0064de8b6ed167d76232979fbdf..5e64632512ee091bd8943d0e8551494d36ba9926 100644 (file)
@@ -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>
index 447fb7a514c637d3b55684480740732f6180e56e..545f527882c023f6e1db18302310343a7c54b52a 100644 (file)
@@ -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;
index 3b5556c57ae002db741e81621a89c3447f674a89..18ddf4ef14093114fa05513ff194e0b750dff66b 100644 (file)
@@ -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>