]> granicus.if.org Git - php/commitdiff
- Fixed ZTS build
authorFelipe Pena <felipensp@gmail.com>
Wed, 22 Aug 2012 22:39:57 +0000 (19:39 -0300)
committerFelipe Pena <felipensp@gmail.com>
Wed, 22 Aug 2012 22:39:57 +0000 (19:39 -0300)
ext/intl/msgformat/msgformat_class.c

index ead0e5f143d3e6043079b39b5aaba43041719db8..da1e1e595a7639b9e9e7aa3118948b20eb60090b 100644 (file)
@@ -97,10 +97,10 @@ zend_object_value MessageFormatter_object_clone(zval *object TSRMLS_DC)
                if (U_FAILURE(INTL_DATA_ERROR_CODE(mfo))) {
                        intl_errors_set(INTL_DATA_ERROR_P(mfo), INTL_DATA_ERROR_CODE(mfo),
                                        "Failed to clone MessageFormatter object", 0 TSRMLS_CC);
-                       zend_throw_exception_ex(NULL, 0, "Failed to clone MessageFormatter object");
+                       zend_throw_exception_ex(NULL, 0 TSRMLS_CC, "Failed to clone MessageFormatter object");
                }
        } else {
-               zend_throw_exception_ex(NULL, 0, "Cannot clone unconstructed MessageFormatter");
+               zend_throw_exception_ex(NULL, 0 TSRMLS_CC, "Cannot clone unconstructed MessageFormatter");
        }
        return new_obj_val;
 }