From: Wez Furlong Date: Sat, 24 Jul 2004 13:18:56 +0000 (+0000) Subject: Enable IObjectSafety so that we can be used in the M$ scripting control. X-Git-Tag: PRE_ZEND_VM_DISPATCH_PATCH~385 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e67ad795995f534e378d4399e795af22b57b8191;p=php Enable IObjectSafety so that we can be used in the M$ scripting control. Thanks to Rob for checking this out. --- diff --git a/sapi/activescript/config.w32 b/sapi/activescript/config.w32 index 1448cb2398..401f8663a6 100644 --- a/sapi/activescript/config.w32 +++ b/sapi/activescript/config.w32 @@ -8,6 +8,6 @@ if (PHP_ACTIVESCRIPT == "yes") { ERROR("ActiveScript module requires an --enable-zts build of PHP"); } - SAPI('activescript', 'classfactory.cpp php5activescript.c scriptengine.cpp', 'php' + PHP_VERSION + 'activescript.dll', '/D PHP5ISAPI_EXPORTS'); + SAPI('activescript', 'classfactory.cpp php5activescript.c scriptengine.cpp', 'php' + PHP_VERSION + 'activescript.dll', '/D PHP5ISAPI_EXPORTS /D ACTIVEPHP_OBJECT_SAFETY=1'); ADD_FLAG('LDFLAGS_ACTIVESCRIPT', 'oleaut32.lib ole32.lib user32.lib advapi32.lib /DEF:' + configure_module_dirname + '\\php5activescript.def'); }