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

MSVC build fix of example, test #241

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

dofuuz
Copy link

@dofuuz dofuuz commented Oct 18, 2020

Build Fix for Microsoft Visual Studio.

D:\a\libsoundio\libsoundio\test\overflow.c(15): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory [D:\a\libsoundio\libsoundio\build\overflow.vcxproj]

When compiled with MSVC,

  • Replaced posix sleep() with Windows Sleep()
  • Ignore __attribute__()

@dofuuz dofuuz changed the title Visual C++ build fix of example, test MSVC build fix of example, test Oct 18, 2020
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

Successfully merging this pull request may close these issues.

1 participant