[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems building lib/getloadavg.c on Solaris 2.5.1
From: |
Paul Eggert |
Subject: |
Re: Problems building lib/getloadavg.c on Solaris 2.5.1 |
Date: |
Wed, 03 Nov 2004 01:29:13 -0800 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Albert Chin <address@hidden> writes:
> Solaris 2.5.1 has uint32_t in <synch.h>.
Also in <pthread.h> and <semaphore.h>.
> So, how do we solve this? Do I augment m4/uint32_t.m4 to include
> <synch.h> if available and then add:
> #ifdef HAVE_SYNC_H
> #include <sync.h>
> #endif
> wherever uint32_t is needed?
How about defining _UINT32_T if we declare uint32_t? It's a bit of a
hack, but it will pacify Solaris 2.5.1.