[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-xorg
Subject: Re: Compilation failed on current HEAD
From: Alexander Gottwald <alexander.gottwald () s1999 ! tu-chemnitz ! de>
Date: 2005-07-13 5:50:07
Message-ID: Pine.LNX.4.58.0507130746300.6926 () odoaker ! hrz ! tu-chemnitz ! de
[Download RAW message or body]
On Tue, 12 Jul 2005, Torrey Lyons wrote:
> There has a proliferation of usage of the SysV "uint" type. This also causes
> build breakage on Darwin in Xserver/render/picture.c. There is a workaround
> in picture.c specifically for WIN32:
>
> #ifdef WIN32
> typedef unsigned int uint;
> #endif
>
> The right way to do this is to include Xlib.h, Xos.h, or Xarch.h, which will
> include <sys/types.h> as appropriate to define uint. This should fix this
> issue for all platforms. Any preferences for which is best here?
for CYGWIN: /usr/include/sys/types.h
# ifndef _POSIX_SOURCE
...
typedef unsigned short ushort; /* System V compatibility */
typedef unsigned int uint; /* System V compatibility */
# endif /*!_POSIX_SOURCE */
WIN32 does not define uint at all
bye
ago
--
Alexander.Gottwald@s1999.tu-chemnitz.de
http://www.gotti.org ICQ: 126018723
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic