cmake: use 'long long' for atomic check
authorAlexander Alekhin <alexander.a.alekhin@gmail.com>
Wed, 18 Sep 2019 15:18:09 +0000 (15:18 +0000)
committerAlexander Alekhin <alexander.a.alekhin@gmail.com>
Wed, 18 Sep 2019 15:18:09 +0000 (15:18 +0000)
cmake/checks/atomic_check.cpp

index c9770a0..8ba13b2 100644 (file)
@@ -2,7 +2,7 @@
 
 static int test()
 {
-    std::atomic<int> x;
+    std::atomic<long long> x;
     return x;
 }