]> granicus.if.org Git - php/commitdiff
Enable IObjectSafety so that we can be used in the M$ scripting control.
authorWez Furlong <wez@php.net>
Sat, 24 Jul 2004 13:18:56 +0000 (13:18 +0000)
committerWez Furlong <wez@php.net>
Sat, 24 Jul 2004 13:18:56 +0000 (13:18 +0000)
Thanks to Rob for checking this out.

sapi/activescript/config.w32

index 1448cb2398bb2eda3a3b4d5a3af30a1b79ebb9e7..401f8663a66493471996b9b12fb9c5aecd6fcfb7 100644 (file)
@@ -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');
 }