This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: #define ?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]