summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sapi/activescript/config.w322
1 files changed, 1 insertions, 1 deletions
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');
}