Re: Installation on SGI IRIX 6.5.10
| От | G. Anthony Reina |
|---|---|
| Тема | Re: Installation on SGI IRIX 6.5.10 |
| Дата | |
| Msg-id | 3B000AA0.76CD8373@nsi.edu обсуждение исходный текст |
| Ответ на | Installation on SGI IRIX 6.5.10 ("G. Anthony Reina" <reina@nsi.edu>) |
| Ответы |
Re: Installation on SGI IRIX 6.5.10
|
| Список | pgsql-hackers |
Tom Lane wrote:
> > cc-1070 cc: ERROR File = xact.c, Line = 696
> > The indicated type is incomplete.
>
> > struct timeval delay;
> > ^
>
> Hm. Which system header file defines struct timeval on IRIX?
> I'd expect <time.h> or <sys/time.h>, but maybe they keep it
> someplace unusual.
In /usr/include/sys/time.h:
#if _XOPEN4UX || defined(_BSD_TYPES) || defined(_BSD_COMPAT)
/** Structure returned by gettimeofday(2) system call,* and used in other calls.* Note this is also defined in
sys/resource.h*/
#ifndef _TIMEVAL_T
#define _TIMEVAL_T
struct timeval {
#if _MIPS_SZLONG == 64__int32_t :32;
#endiftime_t tv_sec; /* seconds */long tv_usec; /* and microseconds */
};
-Tony
В списке pgsql-hackers по дате отправления: