From: Ilia Alshanetsky Date: Wed, 12 Feb 2003 20:44:00 +0000 (+0000) Subject: Fixed bug #22191 (frontbase build was broken for people using older X-Git-Tag: RELEASE_0_5~1072 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=24a86f206484547537c31fa6d8d172201501ab21;p=php Fixed bug #22191 (frontbase build was broken for people using older versions). --- 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);