From owner-freebsd-current Mon Jun 17 16: 0:58 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by hub.freebsd.org (Postfix) with ESMTP id 5B63837B40F for ; Mon, 17 Jun 2002 16:00:35 -0700 (PDT) Received: from nbs.imp.ch (nbs.imp.ch [157.161.4.7]) by mail.imp.ch (8.11.6/8.11.6) with ESMTP id g5HN0Yb36631; Tue, 18 Jun 2002 01:00:34 +0200 (CEST) Received: from levais.imp.ch (levais.imp.ch [157.161.4.66]) by nbs.imp.ch (8.12.3/8.12.3) with ESMTP id g5HN0Y90931411; Tue, 18 Jun 2002 01:00:34 +0200 (MES) Date: Tue, 18 Jun 2002 01:01:36 +0200 (CEST) From: Martin Blapp To: Garrett Wollman , Thomas David Rivers Cc: Subject: Re: PATCH: wchar_t is already defined in libstd++ In-Reply-To: <200206172241.g5HMfW2L022995@khavrinen.lcs.mit.edu> Message-ID: <20020618004555.U60170-100000@levais.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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