Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jun 2002 01:01:36 +0200 (CEST)
From:      Martin Blapp <mb@imp.ch>
To:        Garrett Wollman <wollman@lcs.mit.edu>, Thomas David Rivers <rivers@dignus.com>
Cc:        <current@FreeBSD.ORG>
Subject:   Re: PATCH: wchar_t is already defined in libstd++
Message-ID:  <20020618004555.U60170-100000@levais.imp.ch>
In-Reply-To: <200206172241.g5HMfW2L022995@khavrinen.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

Wait my previous version was wrong ...

This is more correct ...

Since of works for gcc and g++ before 3, and it works for
gcc in 3. :

#ifdef  _BSD_WCHAR_T_
#if (__GNUC__ < 3) || !defined(__cplusplus)
typedef _BSD_WCHAR_T_   wchar_t;
#endif
#undef  _BSD_WCHAR_T_
#endif



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020618004555.U60170-100000>