]> granicus.if.org Git - php/commitdiff
- Simplify by remove redundant checks
authorMarcus Boerger <helly@php.net>
Tue, 21 Feb 2006 00:55:38 +0000 (00:55 +0000)
committerMarcus Boerger <helly@php.net>
Tue, 21 Feb 2006 00:55:38 +0000 (00:55 +0000)
ext/pdo/pdo.c

index 0a8830d923a8c62dc1487779be63d77d55cb3393..0b134d431cae088dbfc9dae559941ea612527090 100755 (executable)
@@ -67,7 +67,7 @@ PDO_API char *php_pdo_str_tolower_dup(const char *src, int len)
 
 PDO_API zend_class_entry *php_pdo_get_exception_base(int root TSRMLS_DC)
 {
-#if can_handle_soft_dependency_on_SPL && defined(HAVE_SPL) && ((PHP_MAJOR_VERSION > 5) || (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 1))
+#if can_handle_soft_dependency_on_SPL && defined(HAVE_SPL)
        if (!root) {
                if (!spl_ce_RuntimeException) {
                        zend_class_entry **pce;