Re: Installation on SGI IRIX 6.5.10 - Mailing list pgsql-hackers

From G. Anthony Reina
Subject Re: Installation on SGI IRIX 6.5.10
Date
Msg-id 3B000AA0.76CD8373@nsi.edu
Whole thread Raw
In response to Installation on SGI IRIX 6.5.10  ("G. Anthony Reina" <reina@nsi.edu>)
Responses Re: Installation on SGI IRIX 6.5.10
List 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 by date:

Previous
From: Kovacs Zoltan
Date:
Subject: Re: Re: bug in PLPGSQL
Next
From: "G. Anthony Reina"
Date:
Subject: Re: Addition to: Trouble with initdb when the #define NAMEDATALEN = 51