summaryrefslogtreecommitdiff
path: root/ext/interbase/php_ibase_includes.h
diff options
context:
space:
mode:
authorArd Biesheuvel <abies@php.net>2004-05-21 13:14:56 +0000
committerArd Biesheuvel <abies@php.net>2004-05-21 13:14:56 +0000
commit126531a44b240b15b1aedbe7b61869da5db5e75a (patch)
treeb5e553240c7a54bce701ea8975ba7b493d88bc57 /ext/interbase/php_ibase_includes.h
parentcb1e4ab6c8f93714cf385881d315f0a3bdb6c033 (diff)
downloadphp-git-126531a44b240b15b1aedbe7b61869da5db5e75a.tar.gz
Make sure METADATALENGTH is defined (used by IB 7)
Diffstat (limited to 'ext/interbase/php_ibase_includes.h')
-rwxr-xr-xext/interbase/php_ibase_includes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/interbase/php_ibase_includes.h b/ext/interbase/php_ibase_includes.h
index b5e453fbf1..2670c7825a 100755
--- a/ext/interbase/php_ibase_includes.h
+++ b/ext/interbase/php_ibase_includes.h
@@ -29,6 +29,10 @@
#define SQLDA_CURRENT_VERSION SQLDA_VERSION1
#endif
+#ifndef METADATALENGTH
+#define METADATALENGTH 32
+#endif
+
#define RESET_ERRMSG do { IBG(errmsg)[0] = '\0'; IBG(sql_code) = 0; } while (0)
#define IB_STATUS (IBG(status))