]> granicus.if.org Git - postgresql/commitdiff
Add checs for float.h
authorMarc G. Fournier <scrappy@hub.org>
Tue, 25 Mar 1997 20:02:42 +0000 (20:02 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Tue, 25 Mar 1997 20:02:42 +0000 (20:02 +0000)
Remove 'unused variable' from dt.c

src/backend/utils/adt/dt.c
src/configure
src/configure.in
src/include/config.h.in

index c43e9802ec75b582a58ed7b31ed24e38cf0c67c0..f11c4f55a3a8c5b64f119fa018c719de5808632e 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *    $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/dt.c,v 1.9 1997/03/25 20:00:52 scrappy Exp $
+ *    $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/dt.c,v 1.10 1997/03/25 20:02:42 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -2556,7 +2556,6 @@ int EncodePostgresDate(struct tm *tm, double fsec, char *str)
     char mabbrev[4], dabbrev[4];
     int day;
     double sec;
-    char buf[MAXDATELEN];
 
     sec = (tm->tm_sec + fsec);
 
index db9313aebb3e5f42aec35dc7faa3f82101ce2063..ae24b252083d41b5c7e0b089ccec4623f71f9dab 100755 (executable)
@@ -2353,7 +2353,7 @@ else
 fi
 done
 
-for ac_hdr in readline.h history.h dld.h crypt.h endian.h
+for ac_hdr in readline.h history.h dld.h crypt.h endian.h float.h
 do
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
index c7213fd75aa4a32bbf4bfe365f79a7bfb6493e9d..c8d51d1b122c282dfca7b2af60e63a864f5bc897 100644 (file)
@@ -134,7 +134,7 @@ dnl Checks for header files.
 AC_HEADER_STDC
 AC_HEADER_SYS_WAIT
 AC_CHECK_HEADERS(limits.h unistd.h termios.h values.h sys/select.h)
-AC_CHECK_HEADERS(readline.h history.h dld.h crypt.h endian.h)
+AC_CHECK_HEADERS(readline.h history.h dld.h crypt.h endian.h float.h)
 
 dnl Checks for typedefs, structures, and compiler characteristics.
 AC_C_CONST
index 831a7eaf78a4f198d0eda1772f7fa12f9c22d8c6..c7ef0c437cd4ed9fc4170664c2f35c7bf0c2c2f9 100644 (file)
@@ -23,6 +23,9 @@
 /* Set to 1 if you have <termios.h> */
 #undef HAVE_TERMIOS_H
 
+/* Set to 1 if you have <float.h> */
+#undef HAVE_FLOAT_H
+
 /* Set to 1 if you have <limits.h> */
 #undef HAVE_LIMITS_H