Tom Lane wrote:
> Bruce Momjian <[EMAIL PROTECTED]> writes:
> > [EMAIL PROTECTED] wrote:
> >> UX:acomp: ERREUR: "fe-secure.c", ligne 1316 : prototype mismatch: 2 args 
> >> passed, 1 expected: sigwait()
> 
> > What is your prototype for sigwait()?
> 
> Whatever it is, it doesn't agree with the Single Unix Spec:
> http://www.opengroup.org/onlinepubs/007908799/xsh/sigwait.html
> 
> On HPUX 10.20 I see
> 
>      #include <pthread.h>
> 
>      int sigwait(sigset_t *set);
> 
> and indeed --enable-thread-safety doesn't work on this platform,
> although we fail the thread safety configure test so there are other
> problems beside sigwait().
> 
> My feeling about this is "too bad, we are not supporting threading on
> platforms whose pthread.h doesn't follow SUS".

I think we have to at least test for this in configure and give them an
error message there rather than generating a compile error later.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  [EMAIL PROTECTED]               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to