mirror of
https://github.com/postgres/postgres.git
synced 2025-05-17 06:41:24 +03:00
Pointed out by: Doug Winterburn <dlw@seavme.xroads.com>
2) Add "#define gettimeofday(a,b) gettimeofday(a) to src/include/config.h On the 88k SVR4, gettimeofday only has one argument. This is checked for in a few other packages by configure, so there should be some examples of the configure test out there.
This commit is contained in:
parent
01ecb2e3a0
commit
92c6bf9775
290
src/configure
vendored
290
src/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -451,6 +451,12 @@ AC_TRY_LINK([#include <time.h>],
|
|||||||
[AC_DEFINE(HAVE_INT_TIMEZONE) AC_MSG_RESULT(yes)],
|
[AC_DEFINE(HAVE_INT_TIMEZONE) AC_MSG_RESULT(yes)],
|
||||||
AC_MSG_RESULT(no))
|
AC_MSG_RESULT(no))
|
||||||
|
|
||||||
|
AC_MSG_CHECKING(for gettimeofday args)
|
||||||
|
AC_TRY_LINK([#include <sys/time.h>],
|
||||||
|
[struct timeval *tp; struct timezone *tzp; gettimeofday(tp,tzp); ],
|
||||||
|
[AC_DEFINE(HAVE_GETTIMEOFDAY_2_ARGS) AC_MSG_RESULT(2 args)],
|
||||||
|
AC_MSG_RESULT(no))
|
||||||
|
|
||||||
AC_MSG_CHECKING(for union semun)
|
AC_MSG_CHECKING(for union semun)
|
||||||
AC_TRY_LINK([#include <sys/types.h>
|
AC_TRY_LINK([#include <sys/types.h>
|
||||||
#include <sys/ipc.h>
|
#include <sys/ipc.h>
|
||||||
|
@ -71,6 +71,12 @@
|
|||||||
/* Set to 1 if you have <dld.h> */
|
/* Set to 1 if you have <dld.h> */
|
||||||
#undef HAVE_DLD_H
|
#undef HAVE_DLD_H
|
||||||
|
|
||||||
|
/* Set to 1 if you gettimeofday(a,b) vs gettimeofday(a) */
|
||||||
|
#undef HAVE_GETTIMEOFDAY_2_ARGS
|
||||||
|
#ifndef HAVE_GETTIMEOFDAY_2_ARGS
|
||||||
|
# define gettimeofday(a,b) gettimeofday(a)
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Set to 1 if you have fp_class() */
|
/* Set to 1 if you have fp_class() */
|
||||||
#undef HAVE_FP_CLASS
|
#undef HAVE_FP_CLASS
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user