> On Aug 24, 2023, at 9:00 PM, Jörg Dommaschk via live-devel 
> <live-de...@us.live555.com> wrote:
> 
> So something like
> 
> #ifndef NO_STD_LIB && __cplusplus >= 202002L
>     //code using std::atomic_flag
> #else
>     //the old logic
> #endif

I’m willing to update the code to do something like this; however the version 
number 202002L is the wrong threshold.  For example, the code compiles OK with 
__cplusplus defined as 201402L

I would need to know the correct version number to use as the threshold.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to