]> granicus.if.org Git - php/commitdiff
Fixed bug #22191 (frontbase build was broken for people using older
authorIlia Alshanetsky <iliaa@php.net>
Wed, 12 Feb 2003 20:44:00 +0000 (20:44 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Wed, 12 Feb 2003 20:44:00 +0000 (20:44 +0000)
versions).

ext/fbsql/php_fbsql.c

index 76020985136c9649a9785bd8f3600a98f8b05beb..df19e70a9d5a21d8b4be71e7ffcb3a47ab8f0908 100644 (file)
@@ -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);