File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change 1
- /*
1
+ /*
2
2
* PHP Sendmail for Windows.
3
3
*
4
4
* This file is rewriten specificly for PHPFI. Some functionality
36
36
37
37
#include "php_win32_globals.h"
38
38
39
- #if HAVE_PCRE || HAVE_BUNDLED_PCRE
40
39
#include "ext/pcre/php_pcre.h"
41
- #endif
42
-
43
40
#include "ext/standard/php_string.h"
44
41
#include "ext/date/php_date.h"
45
42
@@ -130,9 +127,6 @@ static char *ErrorMessages[] =
130
127
*/
131
128
static zend_string * php_win32_mail_trim_header (char * header )
132
129
{
133
-
134
- #if HAVE_PCRE || HAVE_BUNDLED_PCRE
135
-
136
130
zend_string * result , * result2 ;
137
131
zend_string * replace ;
138
132
zend_string * regex ;
@@ -170,10 +164,6 @@ static zend_string *php_win32_mail_trim_header(char *header)
170
164
zend_string_release (result );
171
165
172
166
return result2 ;
173
- #else
174
- /* In case we don't have PCRE support (for whatever reason...) simply do nothing and return the unmodified header */
175
- return zend_string_init (header , strlen (header ), 0 );
176
- #endif
177
167
}
178
168
179
169
/*********************************************************************
You can’t perform that action at this time.
0 commit comments