This is the mail archive of the libstdc++@sourceware.cygnus.com 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: std::basic_string<> and threads - patch


> #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


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