ASIO

 

{

编译ASIO库时,出现编译警告,

      "Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example:\n"\
      "- add -D_WIN32_WINNT=0x0501 to the compiler command line; or\n"\
      "- add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions.\n"\
      "Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target).")

这是因为程序中没有找到_WIN32_WINNT的定义,即没有找到环境中的Windows版本,

此处我们只需要,在pch.h 或者 stdafx.h 中包含头文件 #include 即可。

}

你可能感兴趣的:(ASIO)