欢迎访问移动开发之家(rcyd.net),关注移动开发教程。移动开发之家  移动开发问答|  每日更新
页面位置 : > > 内容正文

1)Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 1)- add -D_WIN32_WINNT=0x

来源: 开发者 投稿于  被查看 11153 次 评论:94

1)Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 1)- add -D_WIN32_WINNT=0x


1>Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example:
1>- add -D_WIN32_WINNT=0x0501 to the compiler command line; or
1>- add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions.

1>Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target).


编译警告解决方案:

在头部加入

#ifdef _MSC_VER
#define _WIN32_WINNT 0x0501
#endif

相关文章

    暂无相关文章
相关频道:

用户评论