标记它的人可能在使用Linux,而我正在用VS2013 for Windows进行开发。我发现Sleep()存在于两个不同的头文件中,取决于编译器是使用Windows还是Linux,我查看了web并找到了在预处理器中使用"#ifdef"的建议。我试过以下几种方法:#include<windows.h>#include<unistd.h>#include
我有一个网络标准库,我想在多个平台(Windows和Linux)上构建和测试它。目前我必须这样做 - job: Linux vmImage: ubuntu-16.04 # A number ofsteps here
pool: steps:
# The exact samesteps as the lin