summaryrefslogtreecommitdiff
path: root/ext/fbsql/php_fbsql.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-02-12 20:44:00 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-02-12 20:44:00 +0000
commit24a86f206484547537c31fa6d8d172201501ab21 (patch)
tree3175387c72bbf74e8860e4a98288c8d196eac578 /ext/fbsql/php_fbsql.c
parentf924aaf6470847192d79cdbb3d69c95b5b50036d (diff)
downloadphp-git-24a86f206484547537c31fa6d8d172201501ab21.tar.gz
Fixed bug #22191 (frontbase build was broken for people using older
versions).
Diffstat (limited to 'ext/fbsql/php_fbsql.c')
-rw-r--r--ext/fbsql/php_fbsql.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/fbsql/php_fbsql.c b/ext/fbsql/php_fbsql.c
index 7602098513..df19e70a9d 100644
--- a/ext/fbsql/php_fbsql.c
+++ b/ext/fbsql/php_fbsql.c
@@ -2275,7 +2275,7 @@ void phpfbColumnAsString(PHPFBResult* result, int column, void* data , int* leng
phpfbestrdup(b, length, value);
}
break;
-
+#ifdef FB_TinyInteger
case FB_TinyInteger:
{
short int v = *((short int*)data);
@@ -2284,7 +2284,8 @@ void phpfbColumnAsString(PHPFBResult* result, int column, void* data , int* leng
phpfbestrdup(b, length, value);
}
break;
-
+#endif
+#ifdef FB_LongInteger
case FB_LongInteger:
{
FBLongInteger v = *((FBLongInteger*)data);
@@ -2297,7 +2298,7 @@ void phpfbColumnAsString(PHPFBResult* result, int column, void* data , int* leng
phpfbestrdup(b, length, value);
}
break;
-
+#endif
case FB_SmallInteger:
{
short v = *((short*)data);