Skip to content

fix: Fixed the issue of examples failing to compile under MSVC - #19

Open
geoyee wants to merge 2 commits into
mozilla-ai:mainfrom
geoyee:hotfix-msvc-examples
Open

fix: Fixed the issue of examples failing to compile under MSVC#19
geoyee wants to merge 2 commits into
mozilla-ai:mainfrom
geoyee:hotfix-msvc-examples

Conversation

@geoyee

Copy link
Copy Markdown

In MSVC, since <unistd.h> and its contained isatty do not exist, you can use <io.h>'s _isatty instead.

@geoyee
geoyeeforce-pushed the hotfix-msvc-examples branch from 886d62d to 3ea6238CompareMay 31, 2026 13:57
Sign up for freeto 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

@geoyee