fix(rvv): add macro protection and system headers for cross-platform compatibility#4085
Merged
wangzhaode merged 1 commit intoalibaba:masterfrom Dec 30, 2025
Merged
Conversation
…compatibility - Added #ifndef MNN_USE_RVV protection in ImageProcessFunction.cpp. - Included <sys/types.h> in RVV function files for Linux and QNX platforms. - This fixes potential redefinition issues and missing type definitions during compilation. Signed-off-by: ihb2032 <[email protected] Co-authored-by: lyd1992 <[email protected]>
wangzhaode
added a commit
that referenced
this pull request
Dec 30, 2025
fix(rvv): add macro protection and system headers for cross-platform compatibility GitOrigin-RevId: 2bacf212fcfae15c87da4cdec36c75fba1e2a746
wangzhaode
added a commit
that referenced
this pull request
Dec 30, 2025
fix(rvv): add macro protection and system headers for cross-platform compatibility GitOrigin-RevId: 22d3216a0527a10610ac76c0ee87e5e9227ee26a
wangzhaode
added a commit
that referenced
this pull request
Jan 7, 2026
fix(rvv): add macro protection and system headers for cross-platform compatibility GitOrigin-RevId: 456325d3ebd48e4245c740b7faf8e88e98d7b9d3
wangzhaode
added a commit
that referenced
this pull request
Jan 8, 2026
fix(rvv): add macro protection and system headers for cross-platform compatibility GitOrigin-RevId: 207facfa46541c49cb7ca94c632bb0557224d10f
Juude
pushed a commit
to Juude/MNN
that referenced
this pull request
Jan 14, 2026
fix(rvv): add macro protection and system headers for cross-platform compatibility GitOrigin-RevId: 456325d3ebd48e4245c740b7faf8e88e98d7b9d3
Juude
pushed a commit
to Juude/MNN
that referenced
this pull request
Jan 14, 2026
fix(rvv): add macro protection and system headers for cross-platform compatibility GitOrigin-RevId: 207facfa46541c49cb7ca94c632bb0557224d10f
wangzhaode
added a commit
that referenced
this pull request
Jan 21, 2026
fix(rvv): add macro protection and system headers for cross-platform compatibility GitOrigin-RevId: 0c2feb28644f1e9870aeb350edea31a230d9ddfa
wangzhaode
added a commit
that referenced
this pull request
Jan 21, 2026
fix(rvv): add macro protection and system headers for cross-platform compatibility GitOrigin-RevId: 9af2286f81b9c9d4ff8cdbac91540055d82477ed ORIGINAL_AUTHOR=MNNSyncBot <[email protected]>
Yogayu
pushed a commit
to Yogayu/MNN
that referenced
this pull request
Feb 11, 2026
fix(rvv): add macro protection and system headers for cross-platform compatibility GitOrigin-RevId: 2bacf212fcfae15c87da4cdec36c75fba1e2a746
Yogayu
pushed a commit
to Yogayu/MNN
that referenced
this pull request
Feb 11, 2026
fix(rvv): add macro protection and system headers for cross-platform compatibility GitOrigin-RevId: 22d3216a0527a10610ac76c0ee87e5e9227ee26a
Yogayu
pushed a commit
to Yogayu/MNN
that referenced
this pull request
Feb 11, 2026
fix(rvv): add macro protection and system headers for cross-platform compatibility GitOrigin-RevId: 456325d3ebd48e4245c740b7faf8e88e98d7b9d3
Yogayu
pushed a commit
to Yogayu/MNN
that referenced
this pull request
Feb 11, 2026
fix(rvv): add macro protection and system headers for cross-platform compatibility GitOrigin-RevId: 207facfa46541c49cb7ca94c632bb0557224d10f
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Verification