Skip to content

Optimize conditional compilation: replace __APPLE__/__linux__ checks with unified _WIN32 check#20

Merged
xiaoyifang merged 4 commits into
mainfrom
opt/optimize-header
Jun 16, 2026
Merged

Optimize conditional compilation: replace __APPLE__/__linux__ checks with unified _WIN32 check#20
xiaoyifang merged 4 commits into
mainfrom
opt/optimize-header

Conversation

@xiaoyifang

Copy link
Copy Markdown
Owner

No description provided.

@xiaoyifang xiaoyifang force-pushed the opt/optimize-header branch from 1972b83 to 0ec317d Compare June 16, 2026 03:05
autofix-ci Bot and others added 3 commits June 16, 2026 03:06
…with unified _WIN32 check

- build-pre.h: Change unistd.h/io.h include logic to use _WIN32 check
- build-post.h: Change dirent.h/win_dirent.h include logic to use _WIN32 check
- filename.c: Remove redundant dirent.h include (now provided by build-post.h), unify condition
@xiaoyifang xiaoyifang changed the title Opt/optimize header Optimize conditional compilation: replace __APPLE__/__linux__ checks with unified _WIN32 check Jun 16, 2026
@xiaoyifang xiaoyifang merged commit 9d59df3 into main Jun 16, 2026
4 checks passed
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