diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2003-02-12 20:44:00 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2003-02-12 20:44:00 +0000 |
commit | 24a86f206484547537c31fa6d8d172201501ab21 (patch) | |
tree | 3175387c72bbf74e8860e4a98288c8d196eac578 /ext/fbsql/php_fbsql.c | |
parent | f924aaf6470847192d79cdbb3d69c95b5b50036d (diff) | |
download | php-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.c | 7 |
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); |