summaryrefslogtreecommitdiff
path: root/ext/interbase/interbase.c
diff options
context:
space:
mode:
authorArd Biesheuvel <abies@php.net>2004-02-01 17:52:36 +0000
committerArd Biesheuvel <abies@php.net>2004-02-01 17:52:36 +0000
commit7b606b98d4be6bfcf8aad57412548a882a7f4ab9 (patch)
tree207cb1f484dda05408857c90de450029cc55facb /ext/interbase/interbase.c
parent254eb0f05d6843362f91ab38016a5fdd0a33a9bb (diff)
downloadphp-git-7b606b98d4be6bfcf8aad57412548a882a7f4ab9.tar.gz
Remove extension internals from php_interbase.h
Diffstat (limited to 'ext/interbase/interbase.c')
-rw-r--r--ext/interbase/interbase.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/interbase/interbase.c b/ext/interbase/interbase.c
index f0ab21af1a..498d270a28 100644
--- a/ext/interbase/interbase.c
+++ b/ext/interbase/interbase.c
@@ -33,6 +33,7 @@
#include "php_ini.h"
#include "ext/standard/php_standard.h"
#include "php_interbase.h"
+#include "interbase.h"
#include <time.h>
@@ -106,7 +107,7 @@ function_entry ibase_functions[] = {
PHP_FE(ibase_errmsg, NULL)
PHP_FE(ibase_errcode, NULL)
-#ifdef SQL_DIALECT_V6
+#if HAVE_IBASE6_API
PHP_FE(ibase_add_user, NULL)
PHP_FE(ibase_modify_user, NULL)
PHP_FE(ibase_delete_user, NULL)
@@ -2201,7 +2202,7 @@ static void _php_ibase_trans_end(INTERNAL_FUNCTION_PARAMETERS, int commit) /* {{
case COMMIT:
result = isc_commit_transaction(IB_STATUS, &trans->handle);
break;
-#ifdef SQL_DIALECT_V6
+#if HAVE_IBASE6_API
case (ROLLBACK | RETAIN):
result = isc_rollback_retaining(IB_STATUS, &trans->handle);
break;
@@ -2250,7 +2251,7 @@ PHP_FUNCTION(ibase_commit_ret)
/* {{{ proto bool ibase_rollback_ret( resource link_identifier )
Rollback transaction and retain the transaction context */
-#ifdef SQL_DIALECT_V6
+#if HAVE_IBASE6_API
PHP_FUNCTION(ibase_rollback_ret)
{
_php_ibase_trans_end(INTERNAL_FUNCTION_PARAM_PASSTHRU, ROLLBACK | RETAIN);