Message238223
| Author |
lbianc |
| Recipients |
Arfrever, Joshua.J.Cogliati, Vitor.de.Lima, gustavotemple, jrincayc, lbianc, python-dev, vstinner |
| Date |
2015年03月16日.16:49:45 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1426524585.86.0.713637662928.issue23644@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> #define _Atomic(T) std::atomic<T>
Does not work, since there are definitions like "memory_order_relaxed" that are in std.
I tested the other one, and it works fine:
>#ifdef __cplusplus
>extern "C" {
>#if defined(HAVE_STD_ATOMIC)
>using namespace std;
>#endif
>#endif
@haypo, what do you think? |
|