POV-Ray : Newsgroups : povray.unix : Compiling 3.5 on IRIX 6.5 : Re: Compiling 3.5 on IRIX 6.5 Server Time
28 Jul 2024 16:18:46 EDT (-0400)
  Re: Compiling 3.5 on IRIX 6.5  
From: Rohan Hart
Date: 7 Aug 2002 21:33:38
Message: <mzr8harv65.fsf@zefiro.peace.co.nz>
Michael DiDonato <did### [at] scrippsedu> writes:

> Rohan Hart wrote:
>
>     Alternatively...
> 
>          #define _BSD_SIGNALS or _BSD_COMPAT before including <signal.h>
>     and you get the slightly different and non-SYSV-compatible BSD proto:
>          int (*signal(int sig, int (*func)(int, ...)))(int, ...);
> 
>     Rohan
> 
> Tried -D_XOPEN_SOURCE and then got the following error:
...
> unix.cpp:500: `gettimeofday' undeclared (first use this function)

gettimeofday seems to be BSDish and not part of the XOpen
world... however both _XOPEN_SOURCE and _BSD_COMPAT can be set
together which finds gettimeofday and has the interesting property of
creating a void returning signal with BSD semantics.

Whether that'll work any better...

Rohan


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.