mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-12-05 09:21:59 +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();
|
|
} |