mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
- fix build
This commit is contained in:
parent
e0e0147003
commit
af567e7d54
1 changed files with 5 additions and 3 deletions
|
@ -53,8 +53,10 @@
|
||||||
|
|
||||||
#include "php_apache.h"
|
#include "php_apache.h"
|
||||||
|
|
||||||
#if _MSC_VER <= 1300
|
#ifdef PHP_WIN32
|
||||||
|
# if _MSC_VER <= 1300
|
||||||
# include "win32/php_strtoi64.h"
|
# include "win32/php_strtoi64.h"
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* UnixWare and Netware define shutdown to _shutdown, which causes problems later
|
/* UnixWare and Netware define shutdown to _shutdown, which causes problems later
|
||||||
|
@ -124,7 +126,7 @@ php_apache_sapi_header_handler(sapi_header_struct *sapi_header, sapi_header_op_e
|
||||||
}
|
}
|
||||||
ctx->content_type = estrdup(val);
|
ctx->content_type = estrdup(val);
|
||||||
} else if (!strcasecmp(sapi_header->header, "content-length")) {
|
} else if (!strcasecmp(sapi_header->header, "content-length")) {
|
||||||
#ifdef PHP_WINDOWS
|
#ifdef PHP_WIN32
|
||||||
# ifdef APR_HAS_LARGE_FILES
|
# ifdef APR_HAS_LARGE_FILES
|
||||||
ap_set_content_length(ctx->r, (apr_off_t) _strtoui64(val, (char **)NULL, 10));
|
ap_set_content_length(ctx->r, (apr_off_t) _strtoui64(val, (char **)NULL, 10));
|
||||||
# else
|
# else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue