VISUAL C ++不具有SYS / wait.h [英] Visual c++ doesn't have sys/wait.h

查看:2302
本文介绍了VISUAL C ++不具有SYS / wait.h的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经下载时区数据库的图书馆,我试图编译它在Windows下的DLL。当我这样做,我得到这样的消息:

I have downloaded the timezone database library and am trying to compile it under windows to a DLL. When I do this, I get messages like:


1>c:\javatools\tzinfo\src\private.h(97): fatal error C1083: Cannot open include file: 'sys/wait.h': No such file or directory

和,当然,SYS / wait.h不是ANSI C,这是问题。我似乎记得窗户有一些接近的文件名了这一点。我可以在这里一次助攻?

and, of course, sys/wait.h is not ANSI C, which is the issue. I seem to recall windows have some near file names to this. Can I get an assist here?

感谢。

推荐答案

如果您正在寻找的等待() MSVS等同,没有比<一个HREF =htt​​p://msdn.microsoft.com/en-us/library/windows/desktop/ms687032%28v=vs.85%29.aspx相对=nofollow> WaitForSingleObject的()。

If you're looking for the wait() equivalent of MSVS, look no further than WaitForSingleObject().

这篇关于VISUAL C ++不具有SYS / wait.h的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆