git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 719a413)
Add checs for float.h
1997年3月25日 20:02:42 +0000 (20:02 +0000)
1997年3月25日 20:02:42 +0000 (20:02 +0000)
Remove 'unused variable' from dt.c


diff --git a/src/backend/utils/adt/dt.c b/src/backend/utils/adt/dt.c
index c43e9802ec75b582a58ed7b31ed24e38cf0c67c0..f11c4f55a3a8c5b64f119fa018c719de5808632e 100644 (file)
--- a/src/backend/utils/adt/dt.c
+++ b/src/backend/utils/adt/dt.c
@@ -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);
diff --git a/src/configure b/src/configure
index db9313aebb3e5f42aec35dc7faa3f82101ce2063..ae24b252083d41b5c7e0b089ccec4623f71f9dab 100755 (executable)
--- a/src/configure
+++ b/src/configure
@@ -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
diff --git a/src/configure.in b/src/configure.in
index c7213fd75aa4a32bbf4bfe365f79a7bfb6493e9d..c8d51d1b122c282dfca7b2af60e63a864f5bc897 100644 (file)
--- a/src/configure.in
+++ b/src/configure.in
@@ -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
diff --git a/src/include/config.h.in b/src/include/config.h.in
index 831a7eaf78a4f198d0eda1772f7fa12f9c22d8c6..c7ef0c437cd4ed9fc4170664c2f35c7bf0c2c2f9 100644 (file)
--- a/src/include/config.h.in
+++ b/src/include/config.h.in
@@ -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
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /