Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit64c82a5

Browse files
committed
Add checs for float.h
Remove 'unused variable' from dt.c
1 parent719a413 commit64c82a5

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

‎src/backend/utils/adt/dt.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/dt.c,v 1.9 1997/03/25 20:00:52 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/dt.c,v 1.10 1997/03/25 20:02:42 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -2556,7 +2556,6 @@ int EncodePostgresDate(struct tm *tm, double fsec, char *str)
25562556
charmabbrev[4],dabbrev[4];
25572557
intday;
25582558
doublesec;
2559-
charbuf[MAXDATELEN];
25602559

25612560
sec= (tm->tm_sec+fsec);
25622561

‎src/configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2353,7 +2353,7 @@ else
23532353
fi
23542354
done
23552355

2356-
forac_hdrin readline.h history.h dld.h crypt.h endian.h
2356+
forac_hdrin readline.h history.h dld.h crypt.h endian.h float.h
23572357
do
23582358
ac_safe=`echo"$ac_hdr"| sed'y%./+-%__p_%'`
23592359
echo$ac_n"checking for$ac_hdr""...$ac_c"1>&6

‎src/configure.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ dnl Checks for header files.
134134
AC_HEADER_STDC
135135
AC_HEADER_SYS_WAIT
136136
AC_CHECK_HEADERS(limits.h unistd.h termios.h values.h sys/select.h)
137-
AC_CHECK_HEADERS(readline.h history.h dld.h crypt.h endian.h)
137+
AC_CHECK_HEADERS(readline.h history.h dld.h crypt.h endian.h float.h)
138138

139139
dnl Checks for typedefs, structures, and compiler characteristics.
140140
AC_C_CONST

‎src/include/config.h.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
/* Set to 1 if you have <termios.h> */
2424
#undef HAVE_TERMIOS_H
2525

26+
/* Set to 1 if you have <float.h> */
27+
#undef HAVE_FLOAT_H
28+
2629
/* Set to 1 if you have <limits.h> */
2730
#undef HAVE_LIMITS_H
2831

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp