Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在linux下编译没有windows.h,但是在emu_posix.h里面却需要使用? #158

Open
CLOUDSKG opened this issue Dec 4, 2018 · 1 comment

Comments

@CLOUDSKG
Copy link

CLOUDSKG commented Dec 4, 2018

我在linux下面使用CMake编译的时候发现你们的emu_posix.h里面有使用到windows.h,其他地方都使用了ifdef来做了一个判断,但是这里没有做判断,请问这个文件需要使用到吗?还是这个是一个bug?

@hsylx1992
Copy link

linux下编译的时候,不编译emu_posix.c,所以没问题.....
https://github.com/qiniu/c-sdk/wiki/Linux%E7%8E%AF%E5%A2%83%E4%B8%8BC-SDK%E7%9A%84%E7%BC%96%E8%AF%91

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants