mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-30 19:00:29 +08: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_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_TRY_LINK([#include <sys/types.h>
|
||||
#include <sys/ipc.h>
|
||||
|
@ -71,6 +71,12 @@
|
||||
/* Set to 1 if you 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() */
|
||||
#undef HAVE_FP_CLASS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user