This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: std::basic_string<> and threads - patch
- To: Ryszard Kabatek <rumcajs at gmx dot net>
- Subject: Re: std::basic_string<> and threads - patch
- From: Benjamin Kosnik <bkoz at cygnus dot com>
- Date: Sat, 19 Feb 2000 16:01:46 -0800 (PST)
- cc: libstdc++ at sourceware dot cygnus dot com
> #if 1
> // enable reference counting
> enum _State {_S_initialstate = 0};
> #else
> // disable reference counting
> enum _State {_S_initialstate = -1};
> #endif
>
> Perhaps we should define a macro for this case.
_PTHREADS? Or are you talking about some kind of autconf macro when
--enable-threads=yes is turned on?
-Benjamin