Browse Source

- A few more

PHP-4.0.5
Andi Gutmans 27 years ago
parent
commit
1c7f36465b
  1. 2
      ext/filepro/filepro.c
  2. 4
      ext/imap/imap.c
  3. 2
      ext/snmp/snmp.c

2
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>

4
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;

2
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>

Loading…
Cancel
Save