mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-25 12:11:36 +08:00
80a0e27d8c
* 增加检测atomic源文件 * 支持树莓派编译,自动检测atomic链接库 * 精简cmake操作
12 lines
119 B
C++
12 lines
119 B
C++
#include <atomic>
|
|
|
|
static int test()
|
|
{
|
|
std::atomic<long long> x;
|
|
return x;
|
|
}
|
|
|
|
int main()
|
|
{
|
|
return test();
|
|
} |