derick          Thu Sep 12 07:18:48 2002 EDT

  Modified files:              
    /php4/ext/interbase interbase.c php_interbase.h 
  Log:
  - Fixed linker error when HAVE_STRFTIME was not set
  
  
Index: php4/ext/interbase/interbase.c
diff -u php4/ext/interbase/interbase.c:1.88 php4/ext/interbase/interbase.c:1.89
--- php4/ext/interbase/interbase.c:1.88 Fri Jul 19 05:21:29 2002
+++ php4/ext/interbase/interbase.c      Thu Sep 12 07:18:47 2002
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: interbase.c,v 1.88 2002/07/19 09:21:29 derick Exp $ */
+/* $Id: interbase.c,v 1.89 2002/09/12 11:18:47 derick Exp $ */
 
 
 /* TODO: Arrays, roles?
@@ -85,7 +85,9 @@
        PHP_FE(ibase_prepare, NULL)
        PHP_FE(ibase_execute, NULL)
        PHP_FE(ibase_free_query, NULL)
+#if HAVE_STRFTIME
        PHP_FE(ibase_timefmt, NULL)
+#endif
 
        PHP_FE(ibase_num_fields, NULL)
        PHP_FE(ibase_field_info, NULL)
@@ -607,7 +609,7 @@
 
        php_info_print_table_start();
        php_info_print_table_row(2, "Interbase Support", "enabled");    
-       php_info_print_table_row(2, "Revision", "$Revision: 1.88 $");
+       php_info_print_table_row(2, "Revision", "$Revision: 1.89 $");
 #ifdef COMPILE_DL_INTERBASE
        php_info_print_table_row(2, "Dynamic Module", "yes");
 #endif
Index: php4/ext/interbase/php_interbase.h
diff -u php4/ext/interbase/php_interbase.h:1.27 php4/ext/interbase/php_interbase.h:1.28
--- php4/ext/interbase/php_interbase.h:1.27     Thu Jun  6 15:51:04 2002
+++ php4/ext/interbase/php_interbase.h  Thu Sep 12 07:18:47 2002
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: php_interbase.h,v 1.27 2002/06/06 19:51:04 daniela Exp $ */
+/* $Id: php_interbase.h,v 1.28 2002/09/12 11:18:47 derick Exp $ */
 
 #ifndef PHP_INTERBASE_H
 #define PHP_INTERBASE_H
@@ -51,7 +51,9 @@
 PHP_FUNCTION(ibase_prepare);
 PHP_FUNCTION(ibase_execute);
 PHP_FUNCTION(ibase_free_query);
+#if HAVE_STRFTIME
 PHP_FUNCTION(ibase_timefmt);
+#endif
 
 PHP_FUNCTION(ibase_num_fields);
 PHP_FUNCTION(ibase_field_info);



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to