Permalink
Browse files

- Fixed linker error when HAVE_STRFTIME was not set

  • Loading branch information...
1 parent b905e40 commit 861f68834a77a88616628e4f43450f64308c90d2 Derick Rethans committed Sep 12, 2002
Showing with 4 additions and 0 deletions.
  1. +2 −0 ext/interbase/interbase.c
  2. +2 −0 ext/interbase/php_interbase.h
@@ -85,7 +85,9 @@ function_entry ibase_functions[] = {
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)
@@ -51,7 +51,9 @@ PHP_FUNCTION(ibase_free_result);
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);

0 comments on commit 861f688

Please sign in to comment.