summaryrefslogtreecommitdiff
path: root/ext/pdo/php_pdo.h
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2005-10-02 20:32:17 +0000
committerMarcus Boerger <helly@php.net>2005-10-02 20:32:17 +0000
commit3e0c56aac26872198bd7098dda7ee7abbffae366 (patch)
tree3ada72a331bb693ad584dff6886acb74d7254fb4 /ext/pdo/php_pdo.h
parenta39841e57d04062269e98a0b69074f6515936267 (diff)
downloadphp-git-3e0c56aac26872198bd7098dda7ee7abbffae366.tar.gz
- Fix PDOException base
- MFH PDO::getAvailableDrivers() - Fix compiler warnings
Diffstat (limited to 'ext/pdo/php_pdo.h')
-rwxr-xr-xext/pdo/php_pdo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/pdo/php_pdo.h b/ext/pdo/php_pdo.h
index c4b9c94c68..7f9b85ceb2 100755
--- a/ext/pdo/php_pdo.h
+++ b/ext/pdo/php_pdo.h
@@ -23,6 +23,10 @@
#include "zend.h"
+#if PHP_MAJOR_VERSION > 5 || (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 1)
+#define can_handle_soft_dependency_on_SPL
+#endif
+
extern zend_module_entry pdo_module_entry;
#define phpext_pdo_ptr &pdo_module_entry