X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <6910a60808270133we6b7ff7y340c21f9d50037b1@mail.gmail.com> Date: Wed, 27 Aug 2008 10:33:09 +0200 From: "Reini Urban" To: cygwin AT cygwin DOT com Subject: Re: libicu: conflict on int32_t definition In-Reply-To: <20080826233950.GA4318@implementation> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080826233950 DOT GA4318 AT implementation> X-Google-Sender-Auth: 71b12bf11c9867f6 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 2008/8/27 Samuel Thibault: > I had to disabled libicu usage in brltty because the following doesn't > compile: > > #include > #include > #include > > because pwin32.h redefines int32_t, while it is already defined from > stdint.h... We need to define U_HAVE_INTTYPES_H, which would pull in #include which would define int32_t in stdint.h. You can also patch /usr/include/unicode/pwin32.h until I get out a new release. Add: #ifdef __CYGWIN__ #define U_HAVE_INTTYPES_H #endif at the beginning of the file, below the _MSC_VER check for example. Please give feedback if this works ok for #include , I'll prepare an update then. HTH -- Reini Urban http://phpwiki.org/ http://murbreak.at/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/