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

@geoyee geoyee commented May 31, 2026

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

@geoyee geoyee force-pushed the hotfix-msvc-examples branch from 886d62d to 3ea6238 Compare May 31, 2026 13:57
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