summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/main/php.h b/main/php.h
index 65dd2419fe..5c51d86f66 100644
--- a/main/php.h
+++ b/main/php.h
@@ -278,12 +278,7 @@ int cfgparse(void);
END_EXTERN_C()
#define php_error zend_error
-
-typedef enum {
- EH_NORMAL = 0,
- EH_SUPPRESS,
- EH_THROW
-} error_handling_t;
+#define error_handling_t zend_error_handling_t
BEGIN_EXTERN_C()
PHPAPI void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC);