W3C home > Mailing lists > Public > www-amaya@w3.org > April to June 2000

Re: Not including wchar.h if it isn't used [patch]

From: Irene VATTON <Irene.Vatton@inrialpes.fr>
Date: Tue, 02 May 2000 13:00:00 +0200
Message-Id: <200005021100.NAA00244@tahiti.inrialpes.fr>
To: Don Croyle <croyle@gelemna.ft-wayne.in.us>
cc: www-amaya@w3.org
> It looks like the contents of wchar.h are only used if _I18N_ is
> defined.  This patch lets me compile Amaya on FreeBSD without
> implementing that part of SUSv2 myself.  Which I'm working on....
> 
> --- thotlib/include/ustring.h.orig	Sat Apr 29 07:22:29 2000
> +++ thotlib/include/ustring.h	Sat Apr 29 07:24:07 2000
> @@ -7,7 +7,9 @@
>  #include <windows.h>
>  #endif /* _WINDOWS */
>  
> +#ifdef _I18N_
>  #include <wchar.h>
> +#endif /* _I18N_ */
>  
>  #ifdef _WINDOWS
>  #define strncasecmp _strnicmp

OK, I made the change in the CVS version.
-- 
     Irene.
Received on Tuesday, 2 May 2000 07:02:41 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 April 2014 11:01:34 UTC