Subject: Re: audio/libvisual Solaris10
To: None <tech-pkg@netbsd.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: tech-pkg
Date: 02/19/2007 10:42:40
On Mon, Feb 19, 2007 at 10:38:57AM +0100, Gilles Dauphin wrote:
> --------------------------------------------
> --- libvisual/lv_types.h.orig Mon Feb 13 21:54:08 2006
> +++ libvisual/lv_types.h Mon Feb 19 10:29:32 2007
> @@ -38,7 +38,7 @@
>
> #define VISUAL_TABLESIZE(table) (sizeof (table) / sizeof (table[0]))
>
> -#if !defined(VISUAL_OS_WIN32)
> +#if !defined(VISUAL_OS_WIN32) && !defined(_SYS_INT_TYPES_H)
> #ifndef uint8_t
> #define uint8_t u_int8_t
> #endif
This looks stupid in general, why not just include inttypes.h and expect
the compiler/RTL to provide it ?!
Joerg