This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: #define ?
- To: Carlo Wood <carlo at alinoe dot com>
- Subject: Re: #define ?
- From: Phil Edwards <pedwards at disaster dot jaj dot com>
- Date: Tue, 15 May 2001 12:48:28 -0400
- Cc: libstdc++ at gcc dot gnu dot org
- References: <20010515160752.A16876@alinoe.com>
On Tue, May 15, 2001 at 04:07:52PM +0200, Carlo Wood wrote:
> Is there a macro that I can use to test the version of libstdc++?
> I need to know if a program (using my library) is linking with
> version 3 or earlier.
In c++config:
#define __GLIBCPP__ 20010417
--
pedwards at disaster dot jaj dot com | pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools. Fools are protected by more capable fools.