mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
- Make Windows compile again.
This commit is contained in:
parent
5db0f958c4
commit
198537b70f
2 changed files with 9 additions and 5 deletions
|
@ -33,7 +33,7 @@
|
|||
* Zeev
|
||||
*/
|
||||
|
||||
#if WIN32|WINNT
|
||||
#ifdef PHP_WIN32
|
||||
|
||||
#define _WIN32_DCOM
|
||||
|
||||
|
@ -41,6 +41,7 @@
|
|||
#include "php_COM.h"
|
||||
#include "zend_compile.h"
|
||||
#include "php_ini.h"
|
||||
#include "php_reentrancy.h"
|
||||
|
||||
#include "objbase.h"
|
||||
#include "olestd.h"
|
||||
|
@ -182,9 +183,9 @@ static PHP_INI_MH(OnTypelibFileChange)
|
|||
if (typelib_name_buffer[0]==';') {
|
||||
continue;
|
||||
}
|
||||
typelib_name = strtok_r(typelib_name_buffer, "\r\n", &strtok_buf); /* get rid of newlines */
|
||||
typelib_name = strtok_r(typelib_name, "#", &strtok_buf);
|
||||
modifier = strtok_r(NULL, "#", &strtok_buf);
|
||||
typelib_name = php_strtok_r(typelib_name_buffer, "\r\n", &strtok_buf); /* get rid of newlines */
|
||||
typelib_name = php_strtok_r(typelib_name, "#", &strtok_buf);
|
||||
modifier = php_strtok_r(NULL, "#", &strtok_buf);
|
||||
if (modifier) {
|
||||
if (!strcmp(modifier, "cis") || !strcmp(modifier, "case_insensitive")) {
|
||||
mode &= ~CONST_CS;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue